diff options
author | Freya Murphy <freya@freyacat.org> | 2025-10-01 15:40:12 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-10-01 15:40:12 -0400 |
commit | 8618060f831963a0f852e07b970bc38ee1da0664 (patch) | |
tree | c07904608592a6896de4fdfaf4a1ac689175203c /home/neovim | |
parent | update commits (diff) | |
download | dotfiles-nix-8618060f831963a0f852e07b970bc38ee1da0664.tar.gz dotfiles-nix-8618060f831963a0f852e07b970bc38ee1da0664.tar.bz2 dotfiles-nix-8618060f831963a0f852e07b970bc38ee1da0664.zip |
neovim: remove virt column, update lspconfig configuration
Diffstat (limited to '')
-rw-r--r-- | home/neovim/config.nix | 6 | ||||
-rw-r--r-- | home/neovim/default.nix | 2 | ||||
-rw-r--r-- | home/neovim/init.lua | 16 |
3 files changed, 3 insertions, 21 deletions
diff --git a/home/neovim/config.nix b/home/neovim/config.nix index be86c9b..aa5816e 100644 --- a/home/neovim/config.nix +++ b/home/neovim/config.nix @@ -105,10 +105,4 @@ in }; transparent = true; }; - # max column width - col = { - # show a bar at `width` characters - show = true; - width = 80; - }; } diff --git a/home/neovim/default.nix b/home/neovim/default.nix index 36e1575..e120113 100644 --- a/home/neovim/default.nix +++ b/home/neovim/default.nix @@ -67,8 +67,6 @@ in { fidget-nvim # Auto indentation indent-o-matic - # 80 column width - virt-column-nvim ]; }; } diff --git a/home/neovim/init.lua b/home/neovim/init.lua index 203d7f2..a97feb4 100644 --- a/home/neovim/init.lua +++ b/home/neovim/init.lua @@ -325,14 +325,13 @@ require('todo-comments').setup() --[[ LSP SERVER ]]-- -local lspconfig = require('lspconfig') local capabilities = require('cmp_nvim_lsp').default_capabilities() - for lsp,settings in pairs(config.lsps) do - lspconfig[lsp].setup { + vim.lsp.config(lsp, { capabilities = capabilities, settings = settings, - } + }) + vim.lsp.enable(lsp) end vim.diagnostic.config({ @@ -356,12 +355,3 @@ require('indent-o-matic').setup { standard_widths = { 2, 4, 8 }, skip_multiline = true, } - ---[[ 80 COLUMN WIDTH ]]-- - -if config.col.show then - require('virt-column').setup { - enabled = true, - virtcolumn = tostring(config.col.width), - } -end |