refactor(nvim): replace null-ls with none-ls

This commit is contained in:
Oliver Davies 2023-10-01 21:55:38 +01:00
parent bf21d7de56
commit 57db76b1e5
3 changed files with 13 additions and 2 deletions

View file

@ -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"

View file

@ -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