aboutsummaryrefslogtreecommitdiff
path: root/vim/filetypes.vim
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-10-28 23:29:56 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-10-28 23:29:56 -0400
commit0dbc1ced53ab90811238ba2c25d52f0ceaadff55 (patch)
tree237b714b39e31d873114c6549cfb08bf61396d5b /vim/filetypes.vim
parentbd383bca6ae6c804724d49fe8f0fd137ddb898fc (diff)
downloadvim-cfg-0dbc1ced53ab90811238ba2c25d52f0ceaadff55.tar.gz
vim-cfg-0dbc1ced53ab90811238ba2c25d52f0ceaadff55.tar.xz
Remove old unused makefile garbage and other cleanup
Diffstat (limited to 'vim/filetypes.vim')
-rw-r--r--vim/filetypes.vim98
1 files changed, 0 insertions, 98 deletions
diff --git a/vim/filetypes.vim b/vim/filetypes.vim
deleted file mode 100644
index b14b47e..0000000
--- a/vim/filetypes.vim
+++ /dev/null
@@ -1,98 +0,0 @@
-autocmd Filetype python call SetPythonOptions()
-autocmd Filetype htmldjango call SethtmldjangoOptions()
-autocmd Filetype json call SetJsonOptions()
-autocmd Filetype javascript call SetjavascriptOptions()
-autocmd Filetype php call SetPHPOptions()
-autocmd Filetype html call SetHTMLOptions()
-autocmd Filetype sh call SetShellOptions()
-autocmd Filetype go call SetGoOptions()
-autocmd Filetype yaml call SetYamlOptions()
-autocmd Filetype markdown call SetMarkdownOptions()
-
-function SetMarkdownOptions()
- set spell
- set tabstop=4
- set shiftwidth=4
- set expandtab
- AcpDisable
-endfunction
-function SetPythonOptions()
- set tabstop=4
- set shiftwidth=4
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SetjavascriptOptions()
- set tabstop=2
- set shiftwidth=2
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SetJsonOptions()
- set tabstop=3
- set shiftwidth=3
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SethtmldjangoOptions()
- set tabstop=2
- set shiftwidth=2
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SetPHPOptions()
- set colorcolumn=120
- set tabstop=4
- set shiftwidth=4
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SetHTMLOptions()
- set colorcolumn=120
- set tabstop=2
- set shiftwidth=2
- set expandtab
- filetype indent on
- set smartindent
-endfunction
-function SetShellOptions()
- set tabstop=4
- set shiftwidth=4
- set noexpandtab
- filetype indent on
- set smartindent
-endfunction
-function SetGoOptions()
- " colorscheme acme
- " syntax off
- " colorscheme 256_noir
- AcpDisable
- set nolist
- set noic
- set nolist
-endfunction
-function SetYamlOptions()
- " set listchars=tab:▸\ ,eol:¬,trail:•,space:·
- set listchars=tab:▸\ ,eol:¬,trail:•
- set expandtab
- set noic
-endfunction
-
-" This is specifically for Salt's state files 'sls'
-autocmd BufNewFile,BufRead *.sls set filetype=yaml
-
-
-function! PhpSyntaxOverride()
- hi! def link phpDocTags phpDefine
- hi! def link phpDocParam phpType
-endfunction
-
-augroup phpSyntaxOverride
- autocmd!
- autocmd FileType php call PhpSyntaxOverride()
-augroup END