1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Reorganize filetype plugins.

This commit is contained in:
2020-01-07 16:28:46 +01:00
parent 6a07c907ca
commit c4fcbe6ec0
7 changed files with 10 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
setlocal expandtab
" intelligent comments
setlocal comments=sl:/*,mb:\ *,elx:\ */

View File

@@ -0,0 +1 @@
setlocal expandtab

View File

@@ -0,0 +1 @@
setlocal expandtab

View File

@@ -0,0 +1,2 @@
setlocal expandtab
setlocal tabstop=2 shiftwidth=2 softtabstop=2

View File

@@ -33,7 +33,7 @@ map <F7> :call SetExecutable()<CR>
imap <F7> <Esc>:call SetExecutable<CR>
" Paste using Ctrl+V in insert mode.
inoremap <C-v> <C-o>"+P<C-o>=']
inoremap <C-v> <C-o>"+p
"language specific syntastic configurtion
"syntastic configuration
@@ -45,10 +45,6 @@ let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_wq = 0
autocmd Filetype python setlocal expandtab
autocmd Filetype markdown setlocal textwidth=72 expandtab
autocmd Filetype haskell setlocal expandtab
" Remove trailing whitespace, always.
fun! StripTrailingWhitespace()
" Skip files where the type is trailing space sensitive.