main
Steffen Rademacker 8 months ago
parent fabd3329e6
commit dfbfe6ea8e

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

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

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

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

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

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

Loading…
Cancel
Save