From 6f9d6a6587bd47f35baa08e4ae09ed0ba1c0597d Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 26 Jun 2024 23:10:43 -0500 Subject: [PATCH] terminal/editors/neovim: navic lsp priority --- .../programs/terminal/editors/neovim/plugins/navic.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/home/programs/terminal/editors/neovim/plugins/navic.nix b/modules/home/programs/terminal/editors/neovim/plugins/navic.nix index bcc1d790a..3d6b475b8 100644 --- a/modules/home/programs/terminal/editors/neovim/plugins/navic.nix +++ b/modules/home/programs/terminal/editors/neovim/plugins/navic.nix @@ -3,7 +3,14 @@ _: { # Shows the breadcrumb lsp node path in lualine plugins.navic = { enable = true; - lsp.autoAttach = true; + + lsp = { + autoAttach = true; + preference = [ + "clangd" + "tsserver" + ]; + }; }; }; }