refactor(nvim): replace null-ls with none-ls
This commit is contained in:
parent
bf21d7de56
commit
57db76b1e5
|
@ -141,5 +141,5 @@ vim.keymap.set("n", "<leader>f", function()
|
|||
vim.lsp.buf.format { async = true }
|
||||
end)
|
||||
|
||||
require "opdavies.lsp.null-ls"
|
||||
require "opdavies.lsp.none-ls"
|
||||
require "opdavies.lsp.signature"
|
||||
|
|
|
@ -2,6 +2,17 @@
|
|||
|
||||
let
|
||||
customVim = with self; {
|
||||
none-ls-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "none-ls-nvim";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "nvimtools";
|
||||
repo = "none-ls.nvim";
|
||||
rev = "main";
|
||||
sha256 = "OzwC/i2bzHznf0wunclDEQ+Qfayzje19r4UBDXtbCeI=";
|
||||
};
|
||||
buildPhase = ":";
|
||||
};
|
||||
|
||||
toggle-checkbox-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "toggle-checkbox-nvim";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
|
@ -615,8 +626,8 @@ in
|
|||
vimPlugins.nvim-treesitter-textobjects
|
||||
|
||||
# LSP
|
||||
customVim.none-ls-nvim
|
||||
vimPlugins.lsp-status-nvim
|
||||
vimPlugins.null-ls-nvim
|
||||
vimPlugins.nvim-lspconfig
|
||||
|
||||
# Completion
|
||||
|
|
Loading…
Reference in a new issue