mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
fix(neovim): Rust test-coverage plugin & coding qol improvements
- Rust: `nvim-coverage` for generating code-coverage report - Rust: Keymaps & nvim-job for test-coverage report display - Coding-QOL: Remove distracting & noisy diagnostic virtual-line - Coding-QOL: Keymaps to disable diagnostic virtual text - Coding-QOL: Disable diagnostic underlines - Fix: Disable telescope `hightlight` to fix frequent crash - Coding-QOL: Telescope Keymaps to move between loops - Coding-QOL: Disable auto fn doc hover through `blink`; `LSPSaga` does it better - Coding-QOL: Adding back `quick-scope` with proper config - Keymap: Use `ctrl-p` to search files; same as vscode
This commit is contained in:
@@ -6,6 +6,18 @@ return {
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"unblevable/quick-scope",
|
||||
init = function()
|
||||
vim.g.qs_highlight_on_keys = { "f", "F", "t", "T" }
|
||||
|
||||
vim.cmd([[
|
||||
highlight QuickScopePrimary guifg='#afff5f' gui=underline ctermfg=155 cterm=underline
|
||||
highlight QuickScopeSecondary guifg='#00C7DF' gui=underline ctermfg=81 cterm=underline
|
||||
]])
|
||||
end,
|
||||
},
|
||||
|
||||
-- File Explorer: Neotree
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
@@ -169,8 +181,7 @@ return {
|
||||
vim.keymap.set("n", "<C-S-f>", require("telescope.builtin").live_grep, { desc = "Search/LiveGrep the Project" })
|
||||
|
||||
-- List
|
||||
-- NOTE: Needs terminal configured to send correct key code to NeoVim: \x1b[80;5u
|
||||
vim.keymap.set("n", "<C-S-p>", require("telescope.builtin").find_files, { desc = "Search Files" })
|
||||
vim.keymap.set("n", "<C-p>", require("telescope.builtin").find_files, { desc = "Search Files" })
|
||||
|
||||
-- Git
|
||||
vim.keymap.set("n", "<leader>gc", require("telescope.builtin").git_commits, { desc = "Git: Commits" })
|
||||
|
||||
Reference in New Issue
Block a user