[vim] proper highlighting of cnf files
Forces dosini on a few file types. Also eliminates the need to indent files as the colors are enough of a section marker. Seems there was some stray dotprivate shit still floating around as well.
This commit is contained in:
parent
d4556b1e81
commit
09a935c987
3 changed files with 20 additions and 17 deletions
30
gitconfig
30
gitconfig
|
@ -1,32 +1,32 @@
|
|||
[user]
|
||||
name = Josh Sherman
|
||||
email = josh@gravityblvd.com
|
||||
name = Josh Sherman
|
||||
email = josh@gravityblvd.com
|
||||
|
||||
[github]
|
||||
user = joshtronic
|
||||
user = joshtronic
|
||||
|
||||
[credential]
|
||||
helper = cache --timeout=86400
|
||||
helper = cache --timeout=86400
|
||||
|
||||
[color]
|
||||
branch = auto
|
||||
diff = auto
|
||||
status = auto
|
||||
branch = auto
|
||||
diff = auto
|
||||
status = auto
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
editor = vim
|
||||
|
||||
[diff]
|
||||
compactionHeuristic = true
|
||||
rename = copy
|
||||
compactionHeuristic = true
|
||||
rename = copy
|
||||
|
||||
[pager]
|
||||
color = true
|
||||
color = true
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
default = simple
|
||||
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean %f
|
||||
smudge = git-lfs smudge %f
|
||||
required = true
|
||||
clean = git-lfs clean %f
|
||||
smudge = git-lfs smudge %f
|
||||
required = true
|
||||
|
|
6
my.cnf
6
my.cnf
|
@ -1,4 +1,6 @@
|
|||
!include ~/.dotprivate/my.cnf
|
||||
[client]
|
||||
user = root
|
||||
password = mysql
|
||||
|
||||
[mysql]
|
||||
pager = grcat ~/.grcat
|
||||
pager = grcat ~/.grcat
|
||||
|
|
|
@ -47,6 +47,7 @@ set wildmode=list:longest
|
|||
|
||||
" TODO: Should clean this shit up
|
||||
" Sets up our filetypes
|
||||
autocmd BufRead,BufNewFile *.cnf,*.conf,*gitconfig setf dosini
|
||||
autocmd BufNewFile,BufRead *.dust,*.dustjs,*.tl set filetype=dustjs
|
||||
autocmd BufNewFile,BufRead *.less set filetype=less
|
||||
autocmd BufNewFile,BufRead nginx.conf set filetype=nginx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue