aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2021-11-25 19:07:33 +0900
committernsfisis <nsfisis@gmail.com>2021-11-25 19:07:33 +0900
commit62ef73a7cabb867612bdc779567f69607cbfb845 (patch)
treea54bb5de892a3edb1ffdadc1a5a6b536af0e18bf
parent9768c30600d65021f28db2db991108bda6f7cac9 (diff)
downloaddotfiles-62ef73a7cabb867612bdc779567f69607cbfb845.tar.gz
dotfiles-62ef73a7cabb867612bdc779567f69607cbfb845.tar.zst
dotfiles-62ef73a7cabb867612bdc779567f69607cbfb845.zip
neovim/vim: improve highlight of shell scripts
-rw-r--r--.config/vim/my/colors/ocean.vim20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/vim/my/colors/ocean.vim b/.config/vim/my/colors/ocean.vim
index 360793f..c3b0a46 100644
--- a/.config/vim/my/colors/ocean.vim
+++ b/.config/vim/my/colors/ocean.vim
@@ -240,3 +240,23 @@ hi! link phpSpecialFunction oceanSyntaxIdentifier
hi! link rubyDataDirective oceanSyntaxStatement2
hi! link rubyStringDelimiter oceanSyntaxString
+
+
+
+
+
+" sh {{{3
+
+hi! link shQuote oceanSyntaxString
+hi! link shDerefSimple oceanSyntaxIdentifier
+hi! link shDerefVar oceanSyntaxIdentifier
+
+
+
+
+
+" Utilities {{{1
+
+command! -bar
+ \ OceanGetHighlightGroupName
+ \ echo synIDattr(synID(line('.'), col('.'), v:false), 'name')