diff --git a/vim/after/syntax/scss.vim b/vim/after/syntax/scss.vim new file mode 100644 index 0000000..025b97f --- /dev/null +++ b/vim/after/syntax/scss.vim @@ -0,0 +1,2 @@ +" syn region cssURL contained matchgroup=cssFunctionName start="\<\(uri\|url\|local\|format\)\s*(" end=")" contains=cssStringQ,cssStringQQ oneline +syn region cssURL containedin=scssDefinition matchgroup=cssFunctionName start="\<\(uri\|url\|local\|format\)\s*(" end=")" contains=cssStringQ,cssStringQQ oneline diff --git a/vim/colors/monotonous-dark.erb b/vim/colors/monotonous-dark.erb index ac2c088..ffdf5f9 100644 --- a/vim/colors/monotonous-dark.erb +++ b/vim/colors/monotonous-dark.erb @@ -174,7 +174,8 @@ ui_fg_linter_info = fg_weak1 ui_fg_linter_info_active = ui_fg_question - terminal_ansi_colors = [ '#1f2121', '#373030', '#333535', '#866b6b', '#494545', '#967978', '#5d5959', '#a78685', '#716c6c', '#b79392', '#857f7f', '#c4a6a5', '#9a9393', '#cab0af', '#aeadad', '#d1bab9' ] + # terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], bg_cursorline[0], color_primary_weak3[0], color_primary1[0], color_primary2[0], color_primary3[0], color_primary_strong1[0], color_primary_strong2[0], color_primary_strong3[0] ] + terminal_ansi_colors = [ '#1f2121', fg_comment[0], fg_weak2[0], fg[0], fg_strong1[0], fg_strong2[0], fg_strong3[0], fg_strong4[0], ui_bg[0], yellow1[0], yellow2[0], yellow3[0], yellow4[0], yellow5[0], yellow6[0], yellow7[0] ] # Step 3: highlights highlights = [ diff --git a/vimrc b/vimrc index 5018f38..4950c66 100644 --- a/vimrc +++ b/vimrc @@ -209,9 +209,7 @@ let g:ale_sign_warning = '>' let g:ale_sign_column_always = 1 let g:ale_open_list = 0 -" let g:ale_linters = {'scss': ['stylelint'], 'javascript': ['eslint'], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []} let g:ale_linters = {'scss': ['stylelint'], 'javascript': [], 'php':['php'], 'html':['htmlhint'], 'python': [], 'vue': []} -" let g:ale_linters_explicit = 1 let g:ale_html_htmlhint_options = '-c ~/.htmlhintrc --format=unix' let g:ale_fixers = {'javascript': ['eslint']}