From 26bf52b112e59d9af1c3954e65b642afebabc657 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 2 Apr 2024 11:19:43 +0900 Subject: [PATCH] Updates --- home-manager/common/software/cli/nixvim.nix | 4 +++- home-manager/common/software/cli/nixvim/base.nix | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index 488963f0..c4ef1924 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -3,7 +3,7 @@ programs.nixvim = { plugins = { - lsp-lines.enable = true; + lsp-lines.enable = false; lsp-lines.currentLine = true; crates-nvim.enable = true; lsp = { @@ -37,6 +37,8 @@ html.enable = true; cssls.enable = true; bashls.enable = true; + tailwindcss.enable = true; + svelte.enable = true; }; keymaps = { silent = true; diff --git a/home-manager/common/software/cli/nixvim/base.nix b/home-manager/common/software/cli/nixvim/base.nix index e4f94ebb..514fbc71 100644 --- a/home-manager/common/software/cli/nixvim/base.nix +++ b/home-manager/common/software/cli/nixvim/base.nix @@ -172,8 +172,8 @@ luasnip.enable = true; cmp_luasnip.enable = true; # CMP Addons - cmp-buffer.enable = true; - cmp-path.enable = true; + # cmp-buffer.enable = true; + # cmp-path.enable = true; # cmp-nvim-lsp.enable = true; # cmp-nvim-lsp-document-symbol.enable = true; # cmp-nvim-lsp-signature-help.enable = true; @@ -297,7 +297,7 @@ }; }; sources = [ - { name = "nvim_lua"; } +# { name = "nvim_lua"; } { name = "nvim_lsp"; } { name = "nvim_lsp_signature_help"; } { name = "calc"; } @@ -315,7 +315,7 @@ # https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/ format = '' function(entry, item) - local menu_icon ={ + local menu_icon = { nvim_lsp = 'λ', luasnip = '⋗', buffer = 'Ω',