feat(neovim): add nvim config
This commit is contained in:
parent
b37659bd98
commit
979655751b
1 changed files with 16 additions and 0 deletions
16
.config/nvim/init.lua
Normal file
16
.config/nvim/init.lua
Normal file
|
@ -0,0 +1,16 @@
|
|||
vim.opt.number = true -- Show line numbers
|
||||
vim.opt.relativenumber = true -- Show relative line numbers
|
||||
|
||||
vim.opt.cursorline = true -- Highlight current line
|
||||
|
||||
-- Indentation
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.autoindent = true
|
||||
vim.opt.smartindent = false
|
||||
|
||||
-- Visual tweaks
|
||||
vim.opt.termguicolors = true -- Enable true color support in the terminal
|
||||
vim.opt.background = "dark" -- Or "light" depending on your preference
|
||||
vim.opt.signcolumn = "yes" -- Always show sign column (for diagnostics, etc.)
|
Loading…
Add table
Add a link
Reference in a new issue