From 62ef73a7cabb867612bdc779567f69607cbfb845 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 25 Nov 2021 19:07:33 +0900 Subject: neovim/vim: improve highlight of shell scripts --- .config/vim/my/colors/ocean.vim | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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') -- cgit v1.2.3-70-g09d2