-
Notifications
You must be signed in to change notification settings - Fork 12
/
init.vim
111 lines (90 loc) · 3.61 KB
/
init.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
call plug#begin('~/.config/nvim/plugged')
Plug 'supermaven-inc/supermaven-nvim'
Plug 'wookayin/semshi', { 'do': ':UpdateRemotePlugins' }
call plug#end()
autocmd VimEnter * ++once lua require('supermaven-nvim').setup({})
set nocompatible
" Not sure if I want line numbers
"set number
set signcolumn=yes
set clipboard=unnamedplus
set tabstop=4
set shiftwidth=4
set expandtab
set path+=**
set wildmenu
command! MakeTags !ctags -R .
let g:netrw_banner=0
let g:netrw_browse_split=4
let g:netrw_altv=1
let g:netrw_liststyle=3
""Colorscheme
set termguicolors
" local syntax file - set colors on a per-machine basis:
" vim: tw=0 ts=4 sw=4
" Vim color file
" Maintainer: Ron Aaron <[email protected]>
" Last Change: 2003 May 02
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
let g:colors_name = "elflord"
hi Normal guifg=Cyan guibg=#061a1a
hi SignColumn guibg=#061a1a
hi Comment term=bold ctermfg=Cyan guifg=White
hi Constant term=underline ctermfg=Cyan guifg=White
hi Special term=bold ctermfg=Red guifg=LightBlue
hi Identifier term=underline cterm=bold ctermfg=Cyan guifg=LightBlue
hi Statement term=bold ctermfg=Yellow gui=bold guifg=Red
hi PreProc term=underline ctermfg=LightBlue guifg=Red
hi Type term=underline ctermfg=LightGreen guifg=Red gui=bold
hi Function term=bold ctermfg=White guifg=White
hi Repeat term=underline ctermfg=White guifg=Red
hi Operator ctermfg=Red guifg=Red
hi Ignore ctermfg=black guifg=bg
hi Error term=reverse ctermbg=Red ctermfg=White guibg=Red guifg=#ff0000
hi Todo term=standout ctermbg=Yellow ctermfg=Black guifg=Black guibg=Yellow gui=bold
hi LineNr ctermfg=LightBlue guifg=LightBlue
hi ParenHighlight ctermfg=magenta guifg=LightBlue
match ParenHighlight /[\\\.\,\+\-\*\=(){}\[\]]/
" Common groups that link to default highlighting.
" You can specify other highlighting easily.
hi link String Constant
hi link Character Constant
hi link Number Constant
hi link Boolean Constant
hi link Float Number
hi link Conditional Repeat
hi link Label Statement
hi link Keyword Statement
hi link Exception Statement
hi link Include PreProc
hi link Define PreProc
hi link Macro PreProc
hi link PreCondit PreProc
hi link StorageClass Type
hi link Structure Type
hi link Typedef Type
hi link Tag Special
hi link SpecialChar Special
hi link Delimiter Special
hi link SpecialComment Special
hi link Debug Special
syntax enable
filetype plugin on
let g:semshi#excluded_hl_groups = ['local', 'global', 'free', 'attribute']
function MyCustomHighlights()
hi semshiImported ctermfg=214 guifg=Gray cterm=bold gui=bold
hi semshiParameter ctermfg=75 guifg=DarkCyan
hi semshiParameterUnused ctermfg=117 guifg=DarkCyan cterm=underline gui=underline
hi semshiBuiltin ctermfg=207 guifg=LightGray
hi semshiSelf ctermfg=249 guifg=DarkGreen
hi semshiUnresolved ctermfg=226 guifg=#ffff00 cterm=underline gui=underline
hi semshiSelected ctermfg=231 guifg=Green ctermbg=161 guibg=#061a1a gui=bold
hi semshiErrorSign ctermfg=231 guifg=Yellow ctermbg=160 guibg=#061a1a
hi semshiErrorChar ctermfg=231 guifg=Yellow ctermbg=160 guibg=#061a1a
sign define semshiError text=E texthl=semshiErrorSign
endfunction
autocmd FileType python call MyCustomHighlights()