summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/neovim/config.nix6
-rw-r--r--home/neovim/default.nix2
-rw-r--r--home/neovim/init.lua16
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