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 }
|
vim.lsp.buf.format { async = true }
|
||||||
end)
|
end)
|
||||||
|
|
||||||
require "opdavies.lsp.null-ls"
|
require "opdavies.lsp.none-ls"
|
||||||
require "opdavies.lsp.signature"
|
require "opdavies.lsp.signature"
|
||||||
|
|
|
@ -2,6 +2,17 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
customVim = with self; {
|
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 {
|
toggle-checkbox-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "toggle-checkbox-nvim";
|
name = "toggle-checkbox-nvim";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
@ -615,8 +626,8 @@ in
|
||||||
vimPlugins.nvim-treesitter-textobjects
|
vimPlugins.nvim-treesitter-textobjects
|
||||||
|
|
||||||
# LSP
|
# LSP
|
||||||
|
customVim.none-ls-nvim
|
||||||
vimPlugins.lsp-status-nvim
|
vimPlugins.lsp-status-nvim
|
||||||
vimPlugins.null-ls-nvim
|
|
||||||
vimPlugins.nvim-lspconfig
|
vimPlugins.nvim-lspconfig
|
||||||
|
|
||||||
# Completion
|
# Completion
|
||||||
|
|
Loading…
Reference in a new issue