Compare commits

..
2 Commits
Author SHA1 Message Date
Ivar Fatland 3108f217f7 set shiftwidth to 2 on json 2026-08-31 14:21:19 +02:00
Ivar Fatland e39d7eb951 gather file specific configurations 2026-08-31 14:21:12 +02:00
+3 -2
View File
@@ -3,8 +3,6 @@ set background=dark
colorscheme retrobox
nnoremap ,rc :source $MYVIMRC<CR>
autocmd FileType make setlocal noexpandtab
autocmd FileType yaml setlocal tabstop=2
let g:rustfmt_autosave = 0
let g:netrw_banner = 0
nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>
@@ -84,6 +82,9 @@ au BufWinLeave *.* silent! mkview
au FileType * setlocal indentexpr=
au FileType lua setlocal noexpandtab
au FileType c setlocal noexpandtab
au FileType make setlocal noexpandtab
au FileType yaml setlocal tabstop=2
au FileType json setlocal tabstop=2
function! s:SetFileMark(n) abort
let g:file_marks[a:n] = expand('%:p')