From eaa3fb9058cc87dfd66865b05f1a348f41f04eb6 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Wed, 13 Jul 2022 08:47:26 +0200 Subject: [PATCH] feat(nvim): replace vim-cursorword with vim-illuminate --- home-manager/neovim/default.nix | 2 +- home-manager/neovim/lspconfig.lua | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix index 07fb167..8688ad5 100644 --- a/home-manager/neovim/default.nix +++ b/home-manager/neovim/default.nix @@ -37,7 +37,7 @@ tabline-nvim indent-blankline-nvim plenary-nvim - vim-cursorword + vim-illuminate registers-nvim # git diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua index 1ae0318..9095f19 100644 --- a/home-manager/neovim/lspconfig.lua +++ b/home-manager/neovim/lspconfig.lua @@ -31,6 +31,9 @@ local on_attach = function(client, bufnr) end, }) end + + local illuminate = require("illuminate") + illuminate.on_attach(client) end local lsp_status = require("lsp-status")