This commit is contained in:
1 parent
323de0b2e9
commit
cdaac61c37
4 files changed
+4
-26
No files matched your search
@@ -1,7 +0,0 @@
|
|||||||
require("lsp_lines").setup()
|
|
||||||
|
|
||||||
vim.diagnostic.config({
|
|
||||||
virtual_text = false,
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.keymap.set("", "<leader>dd", require("lsp_lines").toggle, { desc = "Toggle lsp_lines" })
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
require("neodev").setup() -- should setup before lspconfig
|
|
||||||
|
|
||||||
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||||
|
|
||||||
|
|||||||
@@ -7,10 +7,6 @@
|
|||||||
url = "github:rktjmp/shipwright.nvim";
|
url = "github:rktjmp/shipwright.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
# plugins-m-taskwarrior-d-nvim = {
|
|
||||||
# url = "github:huantrinh1802/m_taskwarrior_d.nvim";
|
|
||||||
# flake = false;
|
|
||||||
# };
|
|
||||||
plugins-beancount-nvim = {
|
plugins-beancount-nvim = {
|
||||||
url = "github:polarmutex/beancount.nvim";
|
url = "github:polarmutex/beancount.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -45,11 +41,9 @@
|
|||||||
"jupytext.nvim"
|
"jupytext.nvim"
|
||||||
"eyeliner.nvim"
|
"eyeliner.nvim"
|
||||||
"context_filetype.vim"
|
"context_filetype.vim"
|
||||||
"editorconfig-vim"
|
|
||||||
"unicode.vim"
|
"unicode.vim"
|
||||||
"quarto-nvim"
|
"quarto-nvim"
|
||||||
"vim-openscad"
|
"vim-openscad"
|
||||||
"lsp_lines.nvim"
|
|
||||||
"nvim-highlight-colors"
|
"nvim-highlight-colors"
|
||||||
"nvim-lint"
|
"nvim-lint"
|
||||||
];
|
];
|
||||||
@@ -99,14 +93,10 @@
|
|||||||
general =
|
general =
|
||||||
with pkgs.vimPlugins;
|
with pkgs.vimPlugins;
|
||||||
[
|
[
|
||||||
## plug
|
|
||||||
vim-plug
|
|
||||||
vim-sandwich
|
vim-sandwich
|
||||||
context_filetype-vim
|
context_filetype-vim
|
||||||
editorconfig-vim
|
|
||||||
vim-snippets
|
vim-snippets
|
||||||
unicode-vim
|
unicode-vim
|
||||||
vim-css-color
|
|
||||||
quarto-nvim
|
quarto-nvim
|
||||||
vimtex
|
vimtex
|
||||||
wiki-vim
|
wiki-vim
|
||||||
@@ -121,11 +111,7 @@
|
|||||||
## paq
|
## paq
|
||||||
eyeliner-nvim
|
eyeliner-nvim
|
||||||
fzf-lua
|
fzf-lua
|
||||||
ltex_extra-nvim
|
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
lsp_lines-nvim
|
|
||||||
lsp-progress-nvim
|
|
||||||
neodev-nvim
|
|
||||||
SchemaStore-nvim
|
SchemaStore-nvim
|
||||||
nvim-lint
|
nvim-lint
|
||||||
conform-nvim
|
conform-nvim
|
||||||
@@ -142,9 +128,7 @@
|
|||||||
pkgs.neovimPlugins.shipwright-nvim
|
pkgs.neovimPlugins.shipwright-nvim
|
||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
nvim-treesitter-textobjects
|
nvim-treesitter-textobjects
|
||||||
# nvim-treesitter-context
|
|
||||||
nvim-ts-context-commentstring
|
nvim-ts-context-commentstring
|
||||||
# theHamsta/crazy-node-movement
|
|
||||||
treesj
|
treesj
|
||||||
sniprun
|
sniprun
|
||||||
gitsigns-nvim
|
gitsigns-nvim
|
||||||
@@ -157,7 +141,6 @@
|
|||||||
codecompanion-nvim
|
codecompanion-nvim
|
||||||
kitty-scrollback-nvim
|
kitty-scrollback-nvim
|
||||||
fidget-nvim
|
fidget-nvim
|
||||||
# pkgs.neovimPlugins.m-taskwarrior-d-nvim
|
|
||||||
claudecode-nvim
|
claudecode-nvim
|
||||||
snacks-nvim
|
snacks-nvim
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ vim.diagnostic.config({
|
|||||||
signs = true,
|
signs = true,
|
||||||
underline = false,
|
underline = false,
|
||||||
severity_sort = true,
|
severity_sort = true,
|
||||||
|
virtual_text = false,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>dl", vim.diagnostic.open_float)
|
vim.keymap.set("n", "<leader>dl", vim.diagnostic.open_float)
|
||||||
@@ -12,3 +13,6 @@ end)
|
|||||||
vim.keymap.set("n", "<leader>dk", function()
|
vim.keymap.set("n", "<leader>dk", function()
|
||||||
vim.diagnostic.jump({ count = 1, float = true })
|
vim.diagnostic.jump({ count = 1, float = true })
|
||||||
end)
|
end)
|
||||||
|
vim.keymap.set("", "<leader>dd", function()
|
||||||
|
vim.diagnostic.config({ virtual_lines = not vim.diagnostic.config().virtual_lines })
|
||||||
|
end, { desc = "toggle diagnostic virtual lines" })
|
||||||
Reference in new issue
Block a user