From 8a348282a4815a5e03ad28a0b3628d1f047b36d9 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Wed, 20 Mar 2024 12:49:43 +0100 Subject: [PATCH] remove obsolete config --- lua/lsp.lua | 3 --- lua/settings.lua | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) 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