Files
stormwind-nixfiles/user/stormwind/dotfiles/neovim/init.vim

19 lines
400 B
VimL
Raw Normal View History

2025-01-13 01:29:08 +01:00
" Basic Neovim Configuration
" Enable syntax highlighting
syntax on
" Use spaces instead of tabs
set expandtab
" Set tab width to 2
set shiftwidth=2
set tabstop=2
" Highlight settings (optional)
set number " Show line numbers
" Alert when opening in read-only mode
autocmd BufReadPost * if &readonly | echohl WarningMsg | echo "Warning: Opened in Read-Only Mode" | echohl None | endif