mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
chore(nvim): Neovim config cleanups
- Use newer installation for Lazy.nvim - Treesitter: ensure_install sql, bash, jsonc, python, dockerfile plugins - Completion: Use <ctrl+y> to accept. <enter> to accept was interfering with completions that were suggested at end of the line and you don't want to accept but just want to go to the next line - Snacks: disble the abhorrent *smooth* scrolling - Whichkey: More time before pop-up shows (450ms)
This commit is contained in:
@@ -3,7 +3,6 @@ vim.api.nvim_create_autocmd("FileType", {
|
||||
group = vim.api.nvim_create_augroup("keymaps-javascript", { clear = true }),
|
||||
pattern = { "javascript", "javascriptreact", "javascript.jsx", "typescript", "typescriptreact", "typescript.tsx", "vue", "svelte", "astro" },
|
||||
callback = function()
|
||||
-- vim.keymap.set({ "n", "v" }, "<leader>ca", "<cmd>OmniSharpGetCodeActions<CR>", { desc = "Code: Code Actions (C#)" })
|
||||
vim.keymap.set({ "n", "v" }, "<leader>co", function()
|
||||
vim.lsp.buf.code_action({
|
||||
apply = true,
|
||||
|
||||
@@ -20,5 +20,5 @@ vim.g.markdown_recommended_style = 0
|
||||
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||
vim.opt.inccommand = 'split'
|
||||
vim.opt.listchars = { tab = "» ", trail = "·", nbsp = "␣" }
|
||||
vim.opt.inccommand = "split"
|
||||
|
||||
Reference in New Issue
Block a user