19 lines
400 B
VimL
19 lines
400 B
VimL
" 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
|
|
|