Compare commits
No commits in common. "adaf69433032139757d06d70240a352343be6dda" and "137de9bd7d8df375a80c9174d2e7ead8fe0c6f3e" have entirely different histories.
adaf694330
...
137de9bd7d
|
@ -12,17 +12,6 @@ let
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help";
|
meta.homepage = "https://github.com/hrsh7th/cmp-nvim-lsp-signature-help";
|
||||||
};
|
};
|
||||||
|
|
||||||
lsp_lines-nvim = pkgs.vimUtils.buildVimPlugin {
|
|
||||||
name = "lsp_lines.nvim";
|
|
||||||
version = "2022-01-14";
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "https://git.sr.ht/~whynothugo/lsp_lines.nvim";
|
|
||||||
rev = "22ef87c6b2039aac069bfba1c5be5cd26c27b752";
|
|
||||||
sha256 = "prhBuAM1jNxZz7F1SUlUda7dKJ/0eXq3Lw6XB9x7zR8=";
|
|
||||||
};
|
|
||||||
meta.homepage = "https://git.sr.ht/~whynothugo/lsp_lines.nvim";
|
|
||||||
};
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -95,7 +84,6 @@ in
|
||||||
rust-tools-nvim
|
rust-tools-nvim
|
||||||
lua-dev-nvim
|
lua-dev-nvim
|
||||||
null-ls-nvim
|
null-ls-nvim
|
||||||
lsp_lines-nvim
|
|
||||||
];
|
];
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
|
@ -18,7 +18,6 @@ local on_attach = function(client, bufnr)
|
||||||
nnoremap("<leader>ca", vim.lsp.buf.code_action)
|
nnoremap("<leader>ca", vim.lsp.buf.code_action)
|
||||||
nnoremap("<leader>f", vim.lsp.buf.formatting)
|
nnoremap("<leader>f", vim.lsp.buf.formatting)
|
||||||
nnoremap("<leader>d", telescope.diagnostics)
|
nnoremap("<leader>d", telescope.diagnostics)
|
||||||
nnoremap("<leader>D", require("lsp_lines").toggle)
|
|
||||||
nnoremap("<C-p>", vim.diagnostic.goto_prev)
|
nnoremap("<C-p>", vim.diagnostic.goto_prev)
|
||||||
nnoremap("<C-n>", vim.diagnostic.goto_next)
|
nnoremap("<C-n>", vim.diagnostic.goto_next)
|
||||||
|
|
||||||
|
@ -106,10 +105,3 @@ null_ls.setup({
|
||||||
|
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- setup lsp_lines
|
|
||||||
local lsp_lines = require("lsp_lines")
|
|
||||||
lsp_lines.setup()
|
|
||||||
vim.diagnostic.config({
|
|
||||||
virtual_text = false,
|
|
||||||
})
|
|
||||||
|
|
Loading…
Reference in New Issue