-
Notifications
You must be signed in to change notification settings - Fork 26
/
falcon.vim
59 lines (52 loc) · 1.94 KB
/
falcon.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
" required as colors will come from terminal without
let g:fzf_colors =
\ { 'fg': ['fg', 'Comment'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Normal'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Keyword'],
\ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'],
\ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment'] }
" NeoVim has support for changing background colour depending on active or not
if !exists('g:falcon_inactive')
let g:falcon_inactive = 0
endif
if exists('+winhighlight') && g:falcon_inactive == 1
hi ActiveWindow guibg=NONE | hi InactiveWindow guibg=#151521
set winhighlight=Normal:ActiveWindow,NormalNC:InactiveWindow
endif
" Put in a background colour for gui
if !exists('g:falcon_background')
let g:falcon_background = 1
endif
if !has("gui_running") || g:falcon_background == 0
hi NonText guifg=#36363a ctermfg=237 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
hi Normal guifg=#b4b4b9 ctermfg=249 guibg=NONE ctermbg=NONE gui=NONE cterm=NONE
endif
" NeoVim terminal colors
if has ("nvim")
let g:terminal_color_0 = '#000004'
let g:terminal_color_1 = '#ff3600'
let g:terminal_color_2 = '#718e3f'
let g:terminal_color_3 = '#ffc552'
let g:terminal_color_4 = '#635196'
let g:terminal_color_5 = '#ff761a'
let g:terminal_color_6 = '#34bfa4'
let g:terminal_color_7 = '#b4b4b9'
let g:terminal_color_8 = '#020221'
let g:terminal_color_9 = '#ff8e78'
let g:terminal_color_10 = '#b1bf75'
let g:terminal_color_11 = '#ffd392'
let g:terminal_color_12 = '#99a4bc'
let g:terminal_color_13 = '#ffb07b'
let g:terminal_color_14 = '#85ccbf'
let g:terminal_color_15 = '#f8f8ff'
let g:terminal_color_background = g:terminal_color_8
let g:terminal_color_foreground = g:terminal_color_7
endif