- NixOS: Add required LSP and formatter binaries (`prettier`, etc.) to
`modules/user/graphical.nix`
- Zed: Register language server binaries (`lua-lsp`, `taplo`,
`marksman`) in `settings.json` to ensure path lookup.
- Neovim:
- Add native LSP configuration for Rust, Nix, TypeScript, Lua, TOML,
and Markdown
- Implement native LSP-based auto-completion (utilizing
`vim.lsp.completion` for Neovim 0.11+).
10 lines
596 B
Lua
10 lines
596 B
Lua
vim.opt.number = true -- Show line numbers
|
|
vim.opt.relativenumber = true -- Relative line numbers for easier navigation jumps
|
|
vim.opt.shiftwidth = 2 -- 2-space indents
|
|
vim.opt.tabstop = 2 -- Tab spacing
|
|
vim.opt.expandtab = true -- Convert tabs to spaces
|
|
vim.opt.smartindent = true -- Intelligent auto-indenting based on file syntax
|
|
vim.opt.wrap = false -- Disable automatic line wrapping
|
|
vim.opt.termguicolors = true -- Enable 24-bit RGB terminal colors
|
|
vim.opt.completeopt = { "menu", "menuone", "noselect" } -- Smooth auto-completion behavior
|