nvim: remove junk, fix cmp-nvim-lsp
Anirudh Oppiliappan x@icyphox.sh
Fri, 18 Nov 2022 08:16:05 +0530
2 files changed,
1 insertions(+),
21 deletions(-)
M
config/nvim/_init.lua
→
config/nvim/_init.lua
@@ -19,27 +19,7 @@ require 'lsp.json'
require 'lsp.js' -- plugins not in nixpkgs - require 'packer'.startup(function(use) - use { - 'Pocco81/true-zen.nvim', - ft = {'markdown'}, - config = function() - require 'true-zen'.setup{ - integrations = { - tmux = true, - }, - modes = { - ataraxis = { - auto_padding = true, - custom_bg = {'darken', 0.54}, - quit_untoggles = false - } - } - } - end - } - use 'kana/vim-textobj-user' use 'preservim/vim-textobj-quote' end)
M
config/nvim/lua/completion.lua
→
config/nvim/lua/completion.lua
@@ -70,7 +70,7 @@ { name = 'cmdline' }
}) }) -local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) +local capabilities = require('cmp_nvim_lsp').default_capabilities() require('lspconfig')['gopls'].setup { capabilities = capabilities }