This commit is contained in:
albert 2024-04-02 11:19:43 +09:00
parent 17b3c9f651
commit 26bf52b112
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@
programs.nixvim = { programs.nixvim = {
plugins = { plugins = {
lsp-lines.enable = true; lsp-lines.enable = false;
lsp-lines.currentLine = true; lsp-lines.currentLine = true;
crates-nvim.enable = true; crates-nvim.enable = true;
lsp = { lsp = {
@ -37,6 +37,8 @@
html.enable = true; html.enable = true;
cssls.enable = true; cssls.enable = true;
bashls.enable = true; bashls.enable = true;
tailwindcss.enable = true;
svelte.enable = true;
}; };
keymaps = { keymaps = {
silent = true; silent = true;

View file

@ -172,8 +172,8 @@
luasnip.enable = true; luasnip.enable = true;
cmp_luasnip.enable = true; cmp_luasnip.enable = true;
# CMP Addons # CMP Addons
cmp-buffer.enable = true; # cmp-buffer.enable = true;
cmp-path.enable = true; # cmp-path.enable = true;
# cmp-nvim-lsp.enable = true; # cmp-nvim-lsp.enable = true;
# cmp-nvim-lsp-document-symbol.enable = true; # cmp-nvim-lsp-document-symbol.enable = true;
# cmp-nvim-lsp-signature-help.enable = true; # cmp-nvim-lsp-signature-help.enable = true;
@ -297,7 +297,7 @@
}; };
}; };
sources = [ sources = [
{ name = "nvim_lua"; } # { name = "nvim_lua"; }
{ name = "nvim_lsp"; } { name = "nvim_lsp"; }
{ name = "nvim_lsp_signature_help"; } { name = "nvim_lsp_signature_help"; }
{ name = "calc"; } { name = "calc"; }
@ -315,7 +315,7 @@
# https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/ # https://rsdlt.github.io/posts/rust-nvim-ide-guide-walkthrough-development-debug/
format = '' format = ''
function(entry, item) function(entry, item)
local menu_icon ={ local menu_icon = {
nvim_lsp = 'λ', nvim_lsp = 'λ',
luasnip = '', luasnip = '',
buffer = 'Ω', buffer = 'Ω',