nvim: Default to 'text' for files without extensions
Anirudh Oppiliappan x@icyphox.sh
Wed, 23 Dec 2020 18:17:32 +0530
2 files changed,
7 insertions(+),
0 deletions(-)
A
config/fish/functions/gpa.fish
@@ -0,0 +1,4 @@
+# Defined in - @ line 1 +function gpa --wraps='git push all master' --description 'alias gpa=git push all master' + git push all master $argv; +end
M
config/nvim/init.vim
→
config/nvim/init.vim
@@ -82,6 +82,9 @@ let g:gitgutter_sign_removed = '-'
let g:gitgutter_sign_removed_first_line = '^' let g:gitgutter_sign_modified_removed = '#' +" default to text for files without extensions +au BufNewFile,BufRead * if &ft == '' | set ft=text | endif + " comments are italicized hi Comment cterm=italic " color overrides