feat(neovim): add nvim config

This commit is contained in:
Mohammad Rafiq 2025-02-20 06:21:48 +08:00
parent b37659bd98
commit 979655751b

16
.config/nvim/init.lua Normal file
View 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.)