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:
Pratik Tripathy
2025-01-06 17:20:06 +05:30
parent 976e935039
commit 91499a306f
6 changed files with 21 additions and 26 deletions

View File

@@ -439,7 +439,6 @@ return {
---@diagnostic disable-next-line: missing-fields
require("nvim-treesitter.configs").setup({
ensure_installed = {
-- These 2 are required for cmdline
"regex",
"markdown",
"markdown_inline",
@@ -452,6 +451,11 @@ return {
"css",
"json5",
"yaml",
"sql",
"bash",
"jsonc",
"python",
"dockerfile",
},
auto_install = true,