From 0dde56cd3f928ee42e8cfb14302d9316798daf68 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 30 Dec 2024 18:45:50 +0000 Subject: [PATCH] Simplify Neovim configuration --- nix/modules/home-manager/features/cli/neovim.nix | 1 + nvim/lua/opdavies/lsp/init.lua | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/modules/home-manager/features/cli/neovim.nix b/nix/modules/home-manager/features/cli/neovim.nix index 2ebf6e4..bf0cccf 100644 --- a/nix/modules/home-manager/features/cli/neovim.nix +++ b/nix/modules/home-manager/features/cli/neovim.nix @@ -32,6 +32,7 @@ with lib; vim-repeat vim-sleuth vim-textobj-indent + vim-textobj-user vim-textobj-xmlattr vim-unimpaired diff --git a/nvim/lua/opdavies/lsp/init.lua b/nvim/lua/opdavies/lsp/init.lua index ea31b89..34932f1 100644 --- a/nvim/lua/opdavies/lsp/init.lua +++ b/nvim/lua/opdavies/lsp/init.lua @@ -2,8 +2,6 @@ local cmp_nvim_lsp = require "cmp_nvim_lsp" local handlers = require "opdavies.lsp.handlers" local lspconfig = require "lspconfig" -require("neodev").setup {} - local capabilities = cmp_nvim_lsp.default_capabilities(vim.lsp.protocol.make_client_capabilities()) lspconfig.bashls.setup {