Files
dotfiles/common/.config/nvim/init.lua
Pratik Tripathy cbb80fd205 refactor(neovim): Better lazy.nvim setup
- Load options & keymaps right before loading lazy
- Bring back lazy suggested `disable_plugins` for performance
2025-10-13 19:35:50 +05:30

29 lines
1.3 KiB
Lua

-- TIP: General Usage and debugging Nvim hints:
-- Use `vim.print()` to printout variables
-- :lua > `require("plugin-name")` to load a plugin manually
-- To check all issues in plugins -> :checkhealth
-- To check all the keymaps -> :Telescope keymaps
-- Check all notifications -> :Notifications
-- Check past messages -> :messages
-- Select last visual selection -> gv
-- Copy visual section to a line number -> :'<,'>t15 (copies To line 15)
-- Load keymaps & options: Order matters
require("core.lazy")
require("core.lsp")
require("config.autocmd")
-- NOTE: External Tools needed for this Nvim config to work
-- jsregexp
-- rust-analyzer, rustc, cargo (rustacean)
-- OS Installs: Use ../../../scripts/install.sh
-- general: curl, gzip, unzip, git, fd-find, ripgrep, fzf, tree-sitter
-- tools: ImageMagick, xclip, xsel, ghostscript
-- lsp: codespell, nodejs-bash-language-server, hadolint, lua, luajit, shellcheck, shfmt, trivy, pylint, stylua
-- Brew:
-- tools: lazygit
-- lsp: dockerfile-language-server, markdown-toc, markdownlint-cli, marksman, prettier, prettierd, python-lsp-server,
-- taplo, typescript-language-server, vue-language-server, yaml-language-server, yamlfmt
-- MasonInstallAll to install the rest (./lua/config/autocmd.lua)
-- codelldb, css-lsp, docker-compose-language-service, html-lsp, json-lsp, sqlls