diff --git a/lua/lsp.lua b/lua/lsp.lua index 4ac70b8..0263b8d 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -28,9 +28,6 @@ end local nvim_lsp = require('lspconfig') local capabilities = vim.lsp.protocol.make_client_capabilities() --- show snippets in code completion popup -capabilities.textDocument.completion.completionItem.snippetSupport = true; - -- LSPs local servers = { "clangd", diff --git a/lua/settings.lua b/lua/settings.lua index a460000..0f52b6a 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -23,13 +23,11 @@ utils.opt('o', 'wildmode', 'list:longest') utils.opt('w', 'number', true) utils.opt('o', 'clipboard','unnamed,unnamedplus') -vim.opt.autoindent = true -vim.opt.smartindent = true +vim.opt.autoindent = false +vim.opt.smartindent = false vim.opt.background = 'light' vim.opt.errorformat:prepend('%f|%l col %c|%m') vim.opt.fileformat = 'unix' -vim.opt.pastetoggle = '' -vim.opt.textwidth = 79 vim.opt.undofile = true -- Enable vimrc files per project and disable unsafe commands in project vimrc