add nvim dotfile
This commit is contained in:
1 parent
537560f92c
commit
87ad1613bb
2 files changed
+21
No files matched your search
@@ -0,0 +1,18 @@
|
||||
" 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
|
||||
|
||||
Reference in new issue
Block a user