main
Steffen Rademacker 8 months ago
parent fabd3329e6
commit dfbfe6ea8e

@ -6,7 +6,7 @@ cmp.setup({
},
snippet = {
expand = function(args)
vim.fn["vsnip#anonymous"](args.body)
vim.fn['vsnip#anonymous'](args.body)
end
},
mapping = cmp.mapping.preset.insert({
@ -29,11 +29,11 @@ cmp.setup({
formatting = {
format = function(entry, vim_item)
vim_item.menu = ({
nvim_lsp = "[LSP]",
buffer = "[Buffer]",
path = "[Path]",
vsnip = "[Snippet]",
calc = "[Calc]",
nvim_lsp = '[LSP]',
buffer = '[Buffer]',
path = '[Path]',
vsnip = '[Snippet]',
calc = '[Calc]',
})[entry.source.name]
return vim_item
end

@ -1,10 +1,7 @@
local g = vim.g
g.floaterm_width = 0.9
g.floaterm_height = 0.9
g.floaterm_autoclose = 1
g.floaterm_opener = 'edit'
g.floaterm_borderchars = '─│─│╭╮╯╰'
g.floaterm_title = ''
vim.cmd("au VimEnter * highlight FloatermBorder guibg='#282828' guifg='#fbf1c7'")
vim.g.floaterm_width = 0.9
vim.g.floaterm_height = 0.9
vim.g.floaterm_autoclose = 1
vim.g.floaterm_opener = 'edit'
vim.g.floaterm_borderchars = '─│─│╭╮╯╰'
vim.g.floaterm_title = ''
vim.cmd('au VimEnter * highlight FloatermBorder guibg="#282828" guifg="#fbf1c7"')

@ -3,23 +3,15 @@ local lspconfig = require('lspconfig')
lspconfig.cssls.setup({
filetypes = { 'css', 'sass', 'scss' },
settings = {
css = {
validate = false,
},
scss = {
validate = false,
},
sass = {
validate = false,
},
css = { validate = false },
scss = { validate = false },
sass = { validate = false },
},
})
lspconfig.yamlls.setup({
settings = {
yaml = {
validate = false,
},
yaml = { validate = false },
},
})

@ -4,7 +4,5 @@ require('lualine').setup({
lualine_x = {},
lualine_y = { 'diff', 'diagnostics' },
},
options = {
theme = 'gruvbox'
},
options = { theme = 'gruvbox' },
})

@ -10,7 +10,7 @@ require('telescope').setup({
},
extensions = {
fzf = {
fuzzy = true, -- false will only do exact matching
fuzzy = true,
override_generic_sorter = true,
override_file_sorter = true,
case_mode = 'smart_case',

@ -26,12 +26,8 @@ require('nvim-treesitter.configs').setup({
'vue',
'yaml',
},
highlight = {
enable = true,
},
indent = {
enable = true,
},
highlight = { enable = true },
indent = { enable = true },
textobjects = {
select = {
enable = true,

Loading…
Cancel
Save