Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SpecialKey linking issue for :dig visibility #115

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
set -x
vim -c 'cd %:h' -c 'source %' -c ':x' src/iceberg.vim


6 changes: 4 additions & 2 deletions colors/iceberg.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"
" File: iceberg.vim
" Maintainer: cocopon <cocopon@me.com>
" Modified: 2022-11-16 22:13+0900
" Modified: 2024-03-14 07:58-0400
" License: MIT


Expand Down Expand Up @@ -497,6 +497,8 @@ if has('nvim-0.8')
hi! link @variable.builtin TSVariableBuiltin
endif

if !has('nvim')
let g:iceberg_specialkey_ws = get(g:, 'iceberg_specialkey_ws', has('nvim') ? 0 : 1)

if iceberg_specialkey_ws
hi! link SpecialKey Whitespace
endif
4 changes: 3 additions & 1 deletion src/template.vim
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ if has('nvim-0.8')
{{ neovim_08_links }}
endif

if !has('nvim')
let g:iceberg_specialkey_ws = get(g:, 'iceberg_specialkey_ws', has('nvim') ? 0 : 1)

if iceberg_specialkey_ws
hi! link SpecialKey Whitespace
endif