From 979655751b68b67a323a1c1a79508e11586ffa94 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Thu, 20 Feb 2025 06:21:48 +0800 Subject: [PATCH] feat(neovim): add nvim config --- .config/nvim/init.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/nvim/init.lua diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua new file mode 100644 index 0000000..c6aef4c --- /dev/null +++ b/.config/nvim/init.lua @@ -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.)