diff --git a/.gitmodules b/.gitmodules index cd97582..f6e84ab 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,22 +14,13 @@ # neovim plugins ################ -# git symbols in the gutter -[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_vim-gitgutter"] - path = src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter - url = https://github.com/airblade/vim-gitgutter.git - # auto close brackets and quotes -# coding.vim [submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_auto-pairs"] path = src/dot_local/share/nvim/site/pack/3pp/opt/external_auto-pairs url = https://github.com/jiangmiao/auto-pairs # language smarts # coding.lua -[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-lspconfig"] - path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig - url = https://github.com/neovim/nvim-lspconfig.git [submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-cmp"] path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-cmp url = https://github.com/hrsh7th/nvim-cmp.git @@ -47,7 +38,7 @@ url = https://github.com/ledger/vim-ledger.git # color theme -# init.lua +# theme.lua [submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-noirbuddy"] path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-noirbuddy url = https://github.com/jesseleite/nvim-noirbuddy.git @@ -85,15 +76,9 @@ [submodule "submodule.src/dot_local/bin/external_inkscape-shortcut-manager.path"] path = src/dot_local/bin/external_inkscape-shortcut-manager url = https://github.com/dogeystamp/inkscape-shortcut-manager -[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_vim-gitgutter.path"] - path = src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter - url = https://github.com/airblade/vim-gitgutter.git [submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_auto-pairs.path"] path = src/dot_local/share/nvim/site/pack/3pp/opt/external_auto-pairs url = https://github.com/jiangmiao/auto-pairs -[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-lspconfig.path"] - path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig - url = https://github.com/neovim/nvim-lspconfig.git [submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-cmp.path"] path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-cmp url = https://github.com/hrsh7th/nvim-cmp.git diff --git a/programs b/programs index 0f5392f..1dc858c 100644 --- a/programs +++ b/programs @@ -28,6 +28,8 @@ xkblayout-state xss-lock qutebrowser neovim +neovim-lspconfig +vim-surround tree-sitter-grammars tmux fish diff --git a/src/dot_config/nvim/init.vim b/src/dot_config/nvim/init.vim index 65f35b5..30f72af 100644 --- a/src/dot_config/nvim/init.vim +++ b/src/dot_config/nvim/init.vim @@ -106,3 +106,8 @@ lua require('init') " auto-pairs packadd auto-pairs let g:AutoPairsFlyMode = 0 + +" disable warnings in health check +let g:loaded_node_provider = 0 +let g:loaded_perl_provider = 0 +let g:loaded_ruby_provider = 0 diff --git a/src/dot_config/nvim/lua/coding.lua b/src/dot_config/nvim/lua/coding.lua index c329bcb..6ec50b7 100644 --- a/src/dot_config/nvim/lua/coding.lua +++ b/src/dot_config/nvim/lua/coding.lua @@ -29,12 +29,6 @@ local keymap = confutil.keymap -- ) ------- --- git gutter ------- - -vim.cmd.packadd("vim-gitgutter") - ------ -- syntax highlighting ------ @@ -89,7 +83,6 @@ keymap('dx', vim.diagnostic.open_float, { noremap = true, silent = true ------ -- language server (LSP) ------ -vim.cmd.packadd("nvim-lspconfig") local nvim_lsp = require('lspconfig') local on_attach = function(client, bufnr) @@ -161,7 +154,7 @@ local servers = { -- }, -- }, clangd = {}, - tsserver = {}, + ts_ls = {}, bashls = {}, cssls = {}, lua_ls = { diff --git a/src/dot_config/nvim/lua/theme.lua b/src/dot_config/nvim/lua/theme.lua index 71228ca..a43effa 100644 --- a/src/dot_config/nvim/lua/theme.lua +++ b/src/dot_config/nvim/lua/theme.lua @@ -7,7 +7,11 @@ vim.cmd.packadd("colorbuddy.nvim") require("noirbuddy").setup({ colors = { - primary = "#99AABB" + primary = "#99AABB", + diagnostic_error = "#ffaaaa", + diagnostic_warning = "#aaaaaa", + diagnostic_info = "#77aacc", + diagnostic_hint = "#77aacc", }, styles = { italic = true, diff --git a/src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig b/src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig deleted file mode 160000 index ff97d37..0000000 --- a/src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ff97d376b1d22b2eaf9274605531babf0cd0cf21 diff --git a/src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter b/src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter deleted file mode 160000 index 7b0b509..0000000 --- a/src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b0b5098e3e57be86bb96cfbf2b8902381eef57c