this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:sparkles: neovim config

+1383 -1
+1 -1
home-manager/default.nix
··· 11 11 ./emacs 12 12 ./git 13 13 ./firefox 14 + ./neovim 14 15 ./vscode 15 16 ]; 16 17 ··· 26 27 # The home.packages option allows you to install Nix packages into your 27 28 # environment. 28 29 home.packages = with pkgs; [ 29 - neovim 30 30 nodejs 31 31 ghc 32 32 direnv
+320
home-manager/neovim/colors/Blaaark.vim
··· 1 + " Name: Blaaark 2 + " Description: Iosvkem + Monosvkem + procrastination 3 + " Author: neutaaaaan 4 + " Maintainer: neutaaaaan 5 + " Website: github.com/neutaaaaan/blaaark 6 + " License: Vim License (see `:help license`) 7 + " Last Updated: Mon 22 Apr 2019 10:34:25 AM CEST 8 + 9 + if !(has('termguicolors') && &termguicolors) && !has('gui_running') 10 + \ && (!exists('&t_Co') || &t_Co < 256) 11 + echoerr '[Blaaark] There are not enough colors.' 12 + finish 13 + endif 14 + 15 + set background=dark 16 + 17 + hi clear 18 + if exists('syntax_on') 19 + syntax reset 20 + endif 21 + 22 + let g:colors_name = 'Blaaark' 23 + 24 + if !has('gui_running') && get(g:, 'Blaaark_transp_bg', 0) 25 + hi Normal ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 26 + hi Terminal ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 27 + else 28 + hi Normal ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 29 + hi Terminal ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 30 + endif 31 + hi ColorColumn ctermfg=NONE ctermbg=234 guifg=NONE guibg=#161819 guisp=NONE cterm=NONE gui=NONE 32 + hi Conceal ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE gui=NONE 33 + hi Cursor ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE guisp=NONE cterm=NONE,reverse gui=NONE,reverse 34 + hi CursorColumn ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE 35 + hi CursorLine ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE 36 + hi CursorLineNr ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 37 + hi DiffAdd ctermfg=34 ctermbg=234 guifg=#40bb40 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse 38 + hi DiffChange ctermfg=110 ctermbg=234 guifg=#80aacc guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse 39 + hi DiffDelete ctermfg=167 ctermbg=234 guifg=#cc4040 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse 40 + hi DiffText ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse 41 + hi Directory ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 42 + hi EndOfBuffer ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 43 + hi ErrorMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,reverse 44 + hi FoldColumn ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#161819 guisp=NONE cterm=NONE gui=NONE 45 + hi Folded ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,italic gui=NONE,italic 46 + hi IncSearch ctermfg=214 ctermbg=234 guifg=#fcbb20 guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,standout 47 + hi LineNr ctermfg=239 ctermbg=234 guifg=#505050 guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 48 + hi MatchParen ctermfg=199 ctermbg=234 guifg=#fc20bb guibg=#1b1d1e guisp=NONE cterm=NONE,bold gui=NONE,bold 49 + hi ModeMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 50 + hi MoreMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 51 + hi NonText ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 52 + hi Pmenu ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE 53 + hi PmenuSbar ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 54 + hi PmenuSel ctermfg=199 ctermbg=236 guifg=#fc20bb guibg=#303030 guisp=NONE cterm=NONE,bold gui=NONE,bold 55 + hi PmenuThumb ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 56 + hi Question ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 57 + hi! link QuickFixLine Search 58 + hi Search ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE,reverse gui=NONE,standout 59 + hi SignColumn ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#161819 guisp=NONE cterm=NONE gui=NONE 60 + hi SpecialKey ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 61 + hi SpellBad ctermfg=199 ctermbg=234 guifg=#fc20bb guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline 62 + hi SpellCap ctermfg=39 ctermbg=234 guifg=#20bbfc guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline 63 + hi SpellLocal ctermfg=129 ctermbg=234 guifg=#bb20fc guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline 64 + hi SpellRare ctermfg=49 ctermbg=234 guifg=#20fcbb guibg=#1b1d1e guisp=NONE cterm=NONE,underline gui=NONE,underline 65 + hi StatusLine ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE 66 + hi StatusLineNC ctermfg=239 ctermbg=234 guifg=#505050 guibg=#161819 guisp=NONE cterm=NONE gui=NONE 67 + hi! link StatusLineTerm StatusLine 68 + hi! link StatusLineTermNC StatusLineNC 69 + hi TabLine ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE 70 + hi TabLineFill ctermfg=253 ctermbg=236 guifg=#dddddd guibg=#303030 guisp=NONE cterm=NONE gui=NONE 71 + hi TabLineSel ctermfg=253 ctermbg=239 guifg=#dddddd guibg=#505050 guisp=NONE cterm=NONE gui=NONE 72 + hi Title ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 73 + hi VertSplit ctermfg=239 ctermbg=234 guifg=#505050 guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 74 + hi Visual ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE 75 + hi VisualNOS ctermfg=NONE ctermbg=236 guifg=NONE guibg=#303030 guisp=NONE cterm=NONE gui=NONE 76 + hi WarningMsg ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 77 + hi WildMenu ctermfg=39 ctermbg=236 guifg=#20bbfc guibg=#303030 guisp=NONE cterm=NONE gui=NONE 78 + hi! link Boolean Constant 79 + hi! link Character Constant 80 + hi Comment ctermfg=59 ctermbg=NONE guifg=#606060 guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic 81 + hi! link Conditional Statement 82 + hi Constant ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE 83 + hi! link Define PreProc 84 + hi! link Debug Special 85 + hi! link Delimiter Special 86 + hi Error ctermfg=203 ctermbg=234 guifg=#ff2040 guibg=#1b1d1e guisp=NONE cterm=NONE,bold,reverse gui=NONE,bold,standout 87 + hi! link Exception Statement 88 + hi! link Float Constant 89 + hi! link Function Identifier 90 + hi Identifier ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 91 + hi Ignore ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 92 + hi! link Include PreProc 93 + hi! link Keyword Statement 94 + hi! link Label Statement 95 + hi! link Macro PreProc 96 + hi! link Number Constant 97 + hi! link Operator Statement 98 + hi! link PreCondit PreProc 99 + hi PreProc ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 100 + hi! link Repeat Statement 101 + hi Special ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 102 + hi! link SpecialChar Special 103 + hi! link SpecialComment Special 104 + hi Statement ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 105 + hi! link StorageClass Type 106 + hi String ctermfg=67 ctermbg=NONE guifg=#5e90b7 guibg=NONE guisp=NONE cterm=NONE gui=NONE 107 + hi! link Structure Type 108 + hi! link Tag Special 109 + hi Todo ctermfg=49 ctermbg=NONE guifg=#20fcbb guibg=NONE guisp=NONE cterm=NONE,bold,reverse gui=NONE,bold,standout 110 + hi Type ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE gui=NONE 111 + hi! link Typedef Type 112 + hi Underlined ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,underline gui=NONE,underline 113 + hi! link lCursor Cursor 114 + hi CursorIM ctermfg=NONE ctermbg=fg guifg=NONE guibg=fg guisp=NONE cterm=NONE gui=NONE 115 + hi ToolbarLine ctermfg=NONE ctermbg=234 guifg=NONE guibg=#1b1d1e guisp=NONE cterm=NONE gui=NONE 116 + hi ToolbarButton ctermfg=253 ctermbg=234 guifg=#dddddd guibg=#1b1d1e guisp=NONE cterm=NONE,bold gui=NONE,bold 117 + hi markdownH1 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 118 + hi markdownH2 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 119 + hi markdownH3 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 120 + hi markdownH4 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 121 + hi markdownH5 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 122 + hi markdownH6 ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 123 + hi markdownLinkTextDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 124 + hi markdownLinkDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 125 + hi markdownListMarker ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 126 + hi markdownLinkText ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE 127 + hi markdownUrl ctermfg=239 ctermbg=NONE guifg=#505050 guibg=NONE guisp=NONE cterm=NONE gui=NONE 128 + hi markdownRule ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 129 + hi markdownId ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE 130 + hi markdownIdDeclaration ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE 131 + hi markdownBold ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 132 + hi markdownItalic ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic 133 + hi markdownBoldItalic ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold,italic gui=NONE,bold,italic 134 + hi markdownBoldDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 135 + hi markdownItalicDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 136 + hi markdownBoldItalicDelimiter ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 137 + hi rstSections ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 138 + hi rstEmphasis ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,italic gui=NONE,italic 139 + hi rstStrongEmphasis ctermfg=253 ctermbg=NONE guifg=#dddddd guibg=NONE guisp=NONE cterm=NONE,bold gui=NONE,bold 140 + hi rstInterpretedTextOrHyperlinkReference ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE gui=NONE 141 + hi rstStandAloneHyperlink ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE 142 + hi rstHyperlinktarget ctermfg=74 ctermbg=NONE guifg=#57aadd guibg=NONE guisp=NONE cterm=NONE gui=NONE 143 + hi rstCitationReference ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE 144 + hi diffFile ctermfg=67 ctermbg=NONE guifg=#5e90b7 guibg=NONE guisp=NONE cterm=NONE gui=NONE 145 + hi diffAdded ctermfg=42 ctermbg=NONE guifg=#11c98e guibg=NONE guisp=NONE cterm=NONE gui=NONE 146 + hi diffRemoved ctermfg=161 ctermbg=NONE guifg=#d13a6f guibg=NONE guisp=NONE cterm=NONE gui=NONE 147 + hi diffLine ctermfg=134 ctermbg=NONE guifg=#a76fcb guibg=NONE guisp=NONE cterm=NONE gui=NONE 148 + let g:terminal_ansi_colors = [ 149 + \ '#1b1d1e', 150 + \ '#d13a6f', 151 + \ '#11c98e', 152 + \ '#d08928', 153 + \ '#5e90b7', 154 + \ '#a76fcb', 155 + \ '#20aabb', 156 + \ '#dddddd', 157 + \ '#606060', 158 + \ '#d13a6f', 159 + \ '#11c98e', 160 + \ '#d08928', 161 + \ '#5e90b7', 162 + \ '#a76fcb', 163 + \ '#20aabb', 164 + \ '#ffffff' 165 + \ ] 166 + if get(g:, "Blaaark_disable_italic", 0) 167 + hi Comment cterm=NONE 168 + hi Folded cterm=NONE 169 + hi rstEmphasis cterm=NONE 170 + hi markdownItalic cterm=NONE 171 + hi markdownBoldItalic cterm=bold 172 + endif 173 + finish 174 + 175 + " Background: dark 176 + " Color: black #1b1d1e ~ 177 + " Color: greyblack #505050 ~ 178 + " Color: brightblack #606060 ~ 179 + " Color: white #dddddd ~ 180 + " Color: brightwhite #ffffff ~ 181 + " Color: red #d13a6f ~ 182 + " Color: green #11c98e ~ 183 + " Color: yellow #d08928 ~ 184 + " Color: blue #57aadd ~ 185 + " Color: purple #a76fcb ~ 186 + " Color: greyblue #5e90b7 ~ 187 + " Color: teal #20aabb ~ 188 + " Color: diffred #cc4040 ~ 189 + " Color: diffgreen #40bb40 ~ 190 + " Color: diffblue #80aacc ~ 191 + " Color: uipink #fc20bb ~ 192 + " Color: uilime #bbfc20 ~ 193 + " Color: uiteal #20fcbb ~ 194 + " Color: uiblue #20bbfc ~ 195 + " Color: uipurple #bb20fc ~ 196 + " Color: uiamber #fcbb20 ~ 197 + " Color: uiblack #303030 ~ 198 + " Color: unnecessarilyblack #161819 ~ 199 + " Color: errorred #ff2040 ~ 200 + " Normal white none 201 + " Terminal white none 202 + " Normal white black 203 + " Terminal white black 204 + " ColorColumn none unnecessarilyblack 205 + " Conceal none none 206 + " Cursor none none reverse 207 + " CursorColumn none uiblack 208 + " CursorLine none uiblack 209 + " CursorLineNr uiblue black 210 + " DiffAdd diffgreen black reverse 211 + " DiffChange diffblue black reverse 212 + " DiffDelete diffred black reverse 213 + " DiffText white black reverse 214 + " Directory white black 215 + " EndOfBuffer white black 216 + " ErrorMsg white black reverse 217 + " FoldColumn white unnecessarilyblack 218 + " Folded white black italic 219 + " IncSearch uiamber black t=reverse g=standout 220 + " LineNr greyblack black 221 + " MatchParen uipink black t=bold g=bold 222 + " ModeMsg white black 223 + " MoreMsg white black 224 + " NonText white black 225 + " Pmenu white uiblack 226 + " PmenuSbar white black 227 + " PmenuSel uipink uiblack t=bold g=bold 228 + " PmenuThumb white black 229 + " Question white black 230 + " QuickFixLine -> Search 231 + " Search uiblue black t=reverse g=standout 232 + " SignColumn white unnecessarilyblack 233 + " SpecialKey white black 234 + " SpellBad uipink black term=underline g=underline 235 + " SpellCap uiblue black term=underline g=underline 236 + " SpellLocal uipurple black term=underline g=underline 237 + " SpellRare uiteal black term=underline g=underline 238 + " StatusLine white uiblack 239 + " StatusLineNC greyblack unnecessarilyblack 240 + " StatusLineTerm -> StatusLine 241 + " StatusLineTermNC -> StatusLineNC 242 + " TabLine white uiblack 243 + " TabLineFill white uiblack 244 + " TabLineSel white greyblack 245 + " Title white black 246 + " VertSplit greyblack black 247 + " Visual none uiblack 248 + " VisualNOS none uiblack 249 + " WarningMsg white black 250 + " WildMenu uiblue uiblack 251 + " Boolean -> Constant 252 + " Character -> Constant 253 + " Comment brightblack none t=italic g=italic 254 + " Conditional -> Statement 255 + " Constant green none 256 + " Define -> PreProc 257 + " Debug -> Special 258 + " Delimiter -> Special 259 + " Error errorred black t=reverse,bold g=standout,bold 260 + " Exception -> Statement 261 + " Float -> Constant 262 + " Function -> Identifier 263 + " Identifier white none 264 + " Ignore white none 265 + " Include -> PreProc 266 + " Keyword -> Statement 267 + " Label -> Statement 268 + " Macro -> PreProc 269 + " Number -> Constant 270 + " Operator -> Statement 271 + " PreCondit -> PreProc 272 + " PreProc white none 273 + " Repeat -> Statement 274 + " Special red none 275 + " SpecialChar -> Special 276 + " SpecialComment -> Special 277 + " Statement white none t=bold g=bold 278 + " StorageClass -> Type 279 + " String greyblue none 280 + " Structure -> Type 281 + " Tag -> Special 282 + " Todo uiteal none t=reverse,bold g=standout,bold 283 + " Type white none 284 + " Typedef -> Type 285 + " Underlined white none t=underline g=underline 286 + " lCursor -> Cursor 287 + " CursorIM none fg 288 + " ToolbarLine none black 289 + " ToolbarButton white black bold 290 + " markdownH1 white none t=bold g=bold 291 + " markdownH2 white none t=bold g=bold 292 + " markdownH3 white none t=bold g=bold 293 + " markdownH4 white none t=bold g=bold 294 + " markdownH5 white none t=bold g=bold 295 + " markdownH6 white none t=bold g=bold 296 + " markdownLinkTextDelimiter red none 297 + " markdownLinkDelimiter red none 298 + " markdownListMarker purple none t=bold g=bold 299 + " markdownLinkText blue none 300 + " markdownUrl greyblack none 301 + " markdownRule red none t=bold g=bold 302 + " markdownId green none 303 + " markdownIdDeclaration green none 304 + " markdownBold white none t=bold g=bold 305 + " markdownItalic white none t=italic g=italic 306 + " markdownBoldItalic white none t=bold,italic g=bold,italic 307 + " markdownBoldDelimiter red none 308 + " markdownItalicDelimiter red none 309 + " markdownBoldItalicDelimiter red none 310 + " rstSections white none t=bold g=bold 311 + " rstEmphasis white none t=italic g=italic 312 + " rstStrongEmphasis white none t=bold g=bold 313 + " rstInterpretedTextOrHyperlinkReference purple none 314 + " rstStandAloneHyperlink blue none 315 + " rstHyperlinktarget blue none 316 + " rstCitationReference green none 317 + " diffFile greyblue none 318 + " diffAdded green none 319 + " diffRemoved red none 320 + " diffLine purple none
+191
home-manager/neovim/colors/hashpunk-lapis.vim
··· 1 + " Name: hashpunk 2 + " Author: abnt713 3 + " Maintainer: abnt713 4 + " License: MIT 5 + 6 + highlight clear 7 + 8 + if exists('syntax_on') 9 + syntax reset 10 + endif 11 + 12 + let g:colors_name = 'hashpunk-lapis' 13 + set background=dark 14 + 15 + " Dark Meadow Legacy 16 + let s:clear = ['NONE', 'NONE' ] 17 + let s:DarkMagenta = ['90' , '#870087'] 18 + let s:Purple4 = ['55' , '#5f00af'] 19 + let s:SkyBlue1 = ['117' , '#87afff'] 20 + let s:Magenta2 = ['165' , '#d700ff'] 21 + let s:MediumOrchid1 = ['207' , '#ff5faf'] 22 + 23 + " Hashpunk 24 + let s:MainColor = ['110', '#875fff'] 25 + let s:ComplementaryColor = ['111', '#8787ff'] 26 + 27 + let s:Grey0 = ['16', '#000000'] 28 + let s:Grey7 = ['233', '#121212'] 29 + let s:Grey15 = ['235', '#262626'] 30 + let s:Grey19 = ['236', '#303030'] 31 + let s:Grey42 = ['242', '#6c6c6c'] 32 + let s:Grey54 = ['245', '#505050'] 33 + let s:Grey66 = ['248', '#a8a8a8'] 34 + let s:Grey74 = ['250', '#bcbcbc'] 35 + let s:Grey93 = ['255', '#eeeeee'] 36 + 37 + " Text style 38 + let s:italic = 'italic' 39 + let s:bold = 'bold' 40 + let s:underline = 'underline' 41 + let s:none = 'NONE' 42 + 43 + " Helper function to set up highlight executions 44 + function! s:highlight(group, fg, bg, style) 45 + exec "highlight " . a:group 46 + \ . " ctermfg=" . a:fg[0] 47 + \ . " ctermbg=" . a:bg[0] 48 + \ . " cterm=" . a:style 49 + \ . " guifg=" . a:fg[1] 50 + \ . " guibg=" . a:bg[1] 51 + \ . " gui=" . a:style 52 + endfunction 53 + 54 + " Syntax highlighting groups 55 + " 56 + " For reference on what each group does, please refer to this: 57 + " vimdoc.sourceforge.net/htmldoc/syntax.html 58 + " 59 + call s:highlight('Comment', s:Grey42, s:clear, s:italic) 60 + call s:highlight('Constant', s:MainColor, s:clear, s:none) 61 + call s:highlight('String', s:Grey93, s:clear, s:none) 62 + call s:highlight('Character', s:Grey93, s:clear, s:none) 63 + call s:highlight('Number', s:Grey93, s:clear, s:none) 64 + call s:highlight('Boolean', s:ComplementaryColor, s:clear, s:none) 65 + call s:highlight('Float', s:MainColor, s:clear, s:none) 66 + 67 + call s:highlight('Identifier', s:MainColor, s:clear, s:none) 68 + call s:highlight('Function', s:MainColor, s:clear, s:none) 69 + 70 + call s:highlight('Statement', s:MainColor, s:clear, s:bold) 71 + call s:highlight('Conditional', s:MainColor, s:clear, s:bold) 72 + call s:highlight('Repeat', s:MainColor, s:clear, s:bold) 73 + call s:highlight('Label', s:MainColor, s:clear, s:bold) 74 + call s:highlight('Operator', s:MainColor, s:clear, s:none) 75 + call s:highlight('Keyword', s:MainColor, s:clear, s:none) 76 + call s:highlight('Exception', s:MainColor, s:clear, s:italic) 77 + 78 + call s:highlight('PreProc', s:Grey54, s:clear, s:italic) 79 + call s:highlight('Include', s:Grey74, s:clear, s:italic) 80 + call s:highlight('Define', s:Grey66, s:clear, s:italic) 81 + call s:highlight('Macro', s:Grey66, s:clear, s:italic) 82 + call s:highlight('PreCondit', s:MainColor, s:clear, s:italic) 83 + 84 + call s:highlight('Type', s:MainColor, s:clear, s:bold) 85 + call s:highlight('StorageClass', s:MainColor, s:clear, s:bold) 86 + call s:highlight('Structure', s:MainColor, s:clear, s:bold) 87 + call s:highlight('Typedef', s:MainColor, s:clear, s:bold) 88 + 89 + call s:highlight('Special', s:Grey66, s:clear, s:none) 90 + call s:highlight('SpecialChar', s:MainColor, s:clear, s:none) 91 + call s:highlight('Delimiter', s:MainColor, s:clear, s:none) 92 + call s:highlight('SpecialComment', s:Grey54, s:clear, s:none) 93 + call s:highlight('Debug', s:MainColor, s:clear, s:none) 94 + call s:highlight('Underlined', s:Grey54, s:clear, s:underline) 95 + call s:highlight('Error', s:MainColor, s:clear, s:underline) 96 + call s:highlight('Todo', s:MainColor, s:clear, s:none) 97 + 98 + call s:highlight('Directory', s:Grey93, s:clear, s:bold) 99 + call s:highlight('CursorLine', s:MainColor, s:clear, s:bold) 100 + call s:highlight('MatchParen', s:MainColor, s:Grey93, s:none) 101 + call s:highlight('ColorColumn', s:MainColor, s:Grey15, s:none) 102 + 103 + 104 + " Interface highlighting 105 + call s:highlight('Normal', s:Grey93, s:Grey7, s:none) 106 + call s:highlight('Visual', s:clear, s:Grey0, s:none) 107 + call s:highlight('Cursor', s:clear, s:Grey0, s:none) 108 + call s:highlight('iCursor', s:clear, s:Grey0, s:none) 109 + call s:highlight('LineNr', s:Grey66, s:clear, s:none) 110 + call s:highlight('NonText', s:Grey66, s:clear, s:none) 111 + call s:highlight('CursorLineNr', s:Grey0, s:Grey7, s:none) 112 + call s:highlight('VertSplit', s:Grey15, s:clear, s:none) 113 + 114 + " Pmenu 115 + call s:highlight('Pmenu', s:Grey93, s:Grey19, s:none) 116 + call s:highlight('PmenuSel', s:MainColor, s:Grey15, s:none) 117 + 118 + " Search 119 + call s:highlight('Search', s:Grey93, s:MainColor, s:none) 120 + 121 + " GitDiff 122 + call s:highlight('DiffAdd', s:MainColor, s:Grey93, s:none) 123 + call s:highlight('DiffChange', s:Grey7, s:Grey93, s:none) 124 + call s:highlight('DiffText', s:MainColor, s:Grey74, s:none) 125 + call s:highlight('DiffDelete', s:Grey0, s:MainColor, s:none) 126 + 127 + " Git Gutter 128 + call s:highlight('GitGutterAdd', s:Grey93, s:clear, s:none) 129 + call s:highlight('GitGutterChange', s:Grey93, s:clear, s:none) 130 + call s:highlight('GitGutterDelete', s:Grey93, s:clear, s:none) 131 + call s:highlight('GitGutterChangeDelete', s:Grey93, s:clear, s:none) 132 + call s:highlight('SignColumn', s:Grey93, s:clear, s:none) 133 + 134 + 135 + " Java syntax highlighting 136 + call s:highlight('javaParen', s:MainColor, s:clear, s:none) 137 + call s:highlight('javaCommentTitle', s:Grey42, s:clear, s:none) 138 + call s:highlight('javaDocParam', s:MainColor, s:clear, s:none) 139 + call s:highlight('javaDocTags', s:Grey54, s:clear, s:none) 140 + call s:highlight('javaScopeDecl', s:Grey54, s:clear, s:none) 141 + call s:highlight('javaStorageClass', s:MainColor, s:clear, s:none) 142 + 143 + 144 + " Python syntax highlighting 145 + call s:highlight('pythonFunction', s:Grey93, s:clear, s:none) 146 + call s:highlight('pythonBuiltin', s:Grey54, s:clear, s:italic) 147 + 148 + 149 + " Vimscript syntax highlighting 150 + call s:highlight('vimOption', s:Grey93, s:clear, s:none) 151 + 152 + 153 + " NERDTree 154 + call s:highlight('NERDTreeClosable', s:MainColor, s:clear, s:none) 155 + call s:highlight('NERDTreeOpenable', s:MainColor, s:clear, s:none) 156 + 157 + " *NOTE* 158 + " 159 + " The following groups are plug specific and would require the following plugs 160 + " from github in order for the groups to work. 161 + " 162 + 163 + " Elm syntax highlighting 164 + " Requires plug: ElmCast/Magenta2-vim 165 + " 166 + call s:highlight('Magenta2TypeDef', s:MediumOrchid1, s:clear, s:bold) 167 + call s:highlight('Magenta2Alias', s:Grey66, s:clear, s:none) 168 + call s:highlight('Magenta2TopLevelDecl', s:SkyBlue1, s:clear, s:bold) 169 + call s:highlight('Magenta2Braces', s:DarkMagenta, s:clear, s:none) 170 + 171 + 172 + " Elixir syntax highlighting 173 + " Requires plug: elixir-editors/vim-elixir 174 + " 175 + call s:highlight('elixirAlias', s:Magenta2, s:clear, s:italic) 176 + call s:highlight('elixirDefine', s:MediumOrchid1, s:clear, s:none) 177 + call s:highlight('elixirBlockDefinition', s:MediumOrchid1, s:clear, s:none) 178 + call s:highlight('elixirFunctionDeclaration', s:Grey66, s:clear, s:none) 179 + 180 + 181 + " GOLang syntax highlighting 182 + " Requires plug: fatih/vim-go 183 + " 184 + call s:highlight('goPackage', s:Magenta2, s:clear, s:italic) 185 + call s:highlight('goImport', s:Purple4, s:clear, s:italic) 186 + 187 + 188 + " Rust syntax highlighting 189 + " Requires plug: rust-lang/rust.vim 190 + " 191 + call s:highlight('rustMacro', s:MediumOrchid1, s:clear, s:none)
+59
home-manager/neovim/colors/monotonic.vim
··· 1 + " Vim color theme 2 + " 3 + " This file is generated, please check bin/generate.py. 4 + " 5 + " Name: monotonic 6 + " Maintainer: Trey Cucco 7 + " License: BSD 8 + 9 + hi clear 10 + if exists('syntax_on') 11 + syntax reset 12 + endif 13 + 14 + let g:colors_name = 'monotonic' 15 + 16 + set background=dark 17 + hi Normal ctermbg=234 ctermfg=252 cterm=None 18 + hi Visual ctermbg=234 ctermfg=252 cterm=Reverse 19 + hi Comment ctermbg=None ctermfg=244 cterm=None 20 + hi Constant ctermbg=None ctermfg=None cterm=None 21 + hi String ctermbg=None ctermfg=031 cterm=None 22 + hi Character ctermbg=None ctermfg=031 cterm=None 23 + hi Identifier ctermbg=None ctermfg=None cterm=None 24 + hi Statement ctermbg=None ctermfg=254 cterm=Bold 25 + hi PreProc ctermbg=None ctermfg=254 cterm=Bold 26 + hi Type ctermbg=None ctermfg=254 cterm=Bold 27 + hi Special ctermbg=None ctermfg=None cterm=None 28 + hi Underlined ctermbg=None ctermfg=None cterm=Underline 29 + hi Ignore ctermbg=None ctermfg=None cterm=None 30 + hi Error ctermbg=160 ctermfg=None cterm=None 31 + hi Todo ctermbg=226 ctermfg=234 cterm=None 32 + hi ColorColumn ctermbg=235 ctermfg=252 cterm=None 33 + hi Cursor ctermbg=None ctermfg=None cterm=Reverse 34 + hi CursorLine ctermbg=235 ctermfg=None cterm=None 35 + hi Directory ctermbg=234 ctermfg=252 cterm=Underline 36 + hi ErrorMsg ctermbg=160 ctermfg=None cterm=None 37 + hi VertSplit ctermbg=238 ctermfg=238 cterm=None 38 + hi Folded ctermbg=None ctermfg=None cterm=None 39 + hi FoldColumn ctermbg=None ctermfg=244 cterm=None 40 + hi SignColumn ctermbg=None ctermfg=160 cterm=None 41 + hi IncSearch ctermbg=039 ctermfg=234 cterm=None 42 + hi LineNr ctermbg=None ctermfg=244 cterm=None 43 + hi CursorLineNr ctermbg=None ctermfg=244 cterm=Bold 44 + hi MatchParen ctermbg=None ctermfg=None cterm=Reverse 45 + hi Pmenu ctermbg=235 ctermfg=039 cterm=None 46 + hi PmenuSel ctermbg=235 ctermfg=039 cterm=Reverse 47 + hi PmenuSbar ctermbg=235 ctermfg=235 cterm=None 48 + hi PmenuThumb ctermbg=238 ctermfg=238 cterm=None 49 + hi Search ctermbg=039 ctermfg=234 cterm=None 50 + hi SpecialKey ctermbg=None ctermfg=039 cterm=None 51 + hi SpellBad ctermbg=160 ctermfg=None cterm=None 52 + hi SpellCap ctermbg=226 ctermfg=234 cterm=None 53 + hi StatusLine ctermbg=238 ctermfg=015 cterm=Bold 54 + hi StatusLineNC ctermbg=238 ctermfg=252 cterm=None 55 + hi TabLine ctermbg=238 ctermfg=252 cterm=None 56 + hi TabLineFill ctermbg=238 ctermfg=252 cterm=None 57 + hi TabLineSel ctermbg=234 ctermfg=015 cterm=Bold 58 + hi Title ctermbg=None ctermfg=None cterm=Bold 59 + hi WarningMsg ctermbg=160 ctermfg=None cterm=None
+82
home-manager/neovim/colors/nighted.vim
··· 1 + " Vim color scheme 2 + " 3 + " Name: nighted.vim 4 + " Author: Takaaki Hirano <hivedark@gmail.com> 5 + " Source: https://github.com/wolf-dog/nighted.vim 6 + 7 + set background=dark 8 + highlight clear 9 + if exists('syntax_on') 10 + syntax reset 11 + endif 12 + let g:colors_name = 'nighted' 13 + 14 + " General colors 15 + hi Normal ctermfg=251 ctermbg=234 cterm=none guifg=#c6c6c6 guibg=#1c1c1c gui=none 16 + hi Visual ctermfg=none ctermbg=232 cterm=none guifg=NONE guibg=#121212 gui=none 17 + hi Search ctermfg=234 ctermbg=75 cterm=none guifg=#1c1c1c guibg=#5fafff gui=none 18 + hi IncSearch ctermfg=234 ctermbg=61 cterm=none guifg=#1c1c1c guibg=#5f5f5f gui=none 19 + hi Folded ctermfg=147 ctermbg=232 cterm=none guifg=#afafff guibg=#121212 gui=none 20 + hi StatusLine ctermfg=255 ctermbg=60 cterm=none guifg=#eeeeee guibg=#5f5f87 gui=none 21 + hi StatusLineNC ctermfg=249 ctermbg=237 cterm=none guifg=#b2b2b2 guibg=#3a3a3a gui=none 22 + hi TabLine ctermfg=253 ctermbg=239 cterm=none guifg=#dadada guibg=#4e4e4e gui=none 23 + hi TabLineSel ctermfg=255 ctermbg=60 cterm=bold guifg=#eeeeee guibg=#5f5f87 gui=none 24 + hi TabLineFill ctermfg=249 ctermbg=237 cterm=none guifg=#b2b2b2 guibg=#3a3a3a gui=none 25 + hi VertSplit ctermfg=59 ctermbg=59 cterm=none guifg=#5f5f5f guibg=#5f5f5f gui=none 26 + hi LineNr ctermfg=241 ctermbg=232 cterm=none guifg=#606060 guibg=#080808 gui=none 27 + hi NonText ctermfg=236 ctermbg=none cterm=none guifg=#303030 guibg=NONE gui=none 28 + hi ErrorMsg ctermfg=234 ctermbg=214 cterm=bold guifg=#1c1c1c guibg=#ffaf00 gui=bold 29 + hi ModeMsg ctermfg=75 ctermbg=none cterm=bold guifg=#5fafff guibg=NONE gui=bold 30 + hi WarningMsg ctermfg=214 ctermbg=none cterm=none guifg=#ffaf00 guibg=NONE gui=none 31 + hi Title ctermfg=255 ctermbg=none cterm=bold guifg=#e0e0e0 guibg=NONE gui=bold 32 + hi Cursor ctermfg=none ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none 33 + hi CursorIM ctermfg=none ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none 34 + 35 + hi CursorLine ctermfg=none ctermbg=235 cterm=none guifg=NONE guibg=#262626 gui=none 36 + hi CursorLineNr ctermfg=255 ctermbg=234 cterm=none guifg=#e0e0e0 guibg=#1c1c1c gui=none 37 + hi ColorColumn ctermfg=none ctermbg=236 cterm=none guifg=NONE guibg=#303030 gui=none 38 + hi MatchParen ctermfg=255 ctermbg=97 cterm=bold guifg=#e0e0e0 guibg=#875faf gui=bold 39 + hi Pmenu ctermfg=255 ctermbg=60 cterm=none guifg=#e0e0e0 guibg=#5f5f87 gui=none 40 + hi PmenuSel ctermfg=255 ctermbg=103 cterm=none guifg=#e0e0e0 guibg=#8787af gui=none 41 + hi PmenuSbar ctermfg=none ctermbg=240 cterm=none guifg=NONE guibg=#585858 gui=none 42 + hi PmenuThumb ctermfg=none ctermbg=110 cterm=none guifg=NONE guibg=#87afdf gui=none 43 + hi WildMenu ctermfg=234 ctermbg=214 cterm=none guifg=#1c1c1c guibg=#ffaf00 gui=none 44 + hi SpellBad ctermfg=255 ctermbg=161 cterm=undercurl guifg=#e0e0e0 guibg=#df005f gui=undercurl guisp=#e0e0e0 45 + hi SpellCap ctermfg=255 ctermbg=69 cterm=undercurl guifg=#e0e0e0 guibg=#5f87ff gui=undercurl guisp=#e0e0e0 46 + hi SpellRare ctermfg=255 ctermbg=61 cterm=undercurl guifg=#e0e0e0 guibg=#5f5faf gui=undercurl guisp=#e0e0e0 47 + hi SpellLocal ctermfg=255 ctermbg=59 cterm=undercurl guifg=#e0e0e0 guibg=#5f5f5f gui=undercurl guisp=#e0e0e0 48 + 49 + " Diff highlighting 50 + hi DiffAdd ctermfg=234 ctermbg=111 cterm=none guifg=#1c1c1c guibg=#87afff gui=none 51 + hi DiffDelete ctermfg=234 ctermbg=68 cterm=none guifg=#1c1c1c guibg=#5f87df gui=none 52 + hi DiffChange ctermfg=234 ctermbg=60 cterm=none guifg=#1c1c1c guibg=#5f5f87 gui=none 53 + hi DiffText ctermfg=234 ctermbg=103 cterm=none guifg=#1c1c1c guibg=#8787af gui=none 54 + 55 + " Syntax highlighting 56 + hi Comment ctermfg=59 ctermbg=none cterm=none guifg=#5f5f5f guibg=NONE gui=none 57 + hi Constant ctermfg=60 ctermbg=none cterm=none guifg=#5f5f87 guibg=NONE gui=none 58 + hi String ctermfg=147 ctermbg=none cterm=none guifg=#afafff guibg=NONE gui=none 59 + hi Number ctermfg=153 ctermbg=none cterm=none guifg=#afdfff guibg=NONE gui=none 60 + hi Identifier ctermfg=111 ctermbg=none cterm=none guifg=#87afff guibg=NONE gui=none 61 + hi Function ctermfg=75 ctermbg=none cterm=none guifg=#5fafff guibg=NONE gui=none 62 + hi Statement ctermfg=61 ctermbg=none cterm=none guifg=#5f5faf guibg=NONE gui=none 63 + hi Keyword ctermfg=75 ctermbg=none cterm=none guifg=#5fafff guibg=NONE gui=none 64 + hi PreProc ctermfg=153 ctermbg=none cterm=none guifg=#afdfff guibg=NONE gui=none 65 + hi Type ctermfg=69 ctermbg=none cterm=none guifg=#5f87ff guibg=NONE gui=none 66 + hi Special ctermfg=60 ctermbg=none cterm=bold guifg=#5f5f87 guibg=NONE gui=none 67 + hi Underlined ctermfg=75 ctermbg=none cterm=underline guifg=#5fafff guibg=NONE gui=underline 68 + hi Error ctermfg=234 ctermbg=161 cterm=bold guifg=#1c1c1c guibg=#df005f gui=none 69 + hi Todo ctermfg=234 ctermbg=147 cterm=bold guifg=#1c1c1c guibg=#afafff gui=none 70 + 71 + " Links 72 + hi! link Boolean Constant 73 + hi! link SpecialChar Constant 74 + hi! link Directory Identifier 75 + hi! link Conceal Keyword 76 + hi! link VisualNOS Visual 77 + hi! link FoldColumn Folded 78 + hi! link CursorColumn CursorLine 79 + hi! link SpecialKey NonText 80 + hi! link MoreMsg ModeMsg 81 + hi! link Question Todo 82 + hi! link SignColumn Normal
+168
home-manager/neovim/colors/photon.vim
··· 1 + " Name: photon.vim 2 + " Author: Alex Vear <av@axvr.io> 3 + " Webpage: https://github.com/axvr/photon.vim 4 + " Description: A minimal and elegant dark colour scheme for Vim. 5 + " Licence: MIT (2019) 6 + 7 + hi clear 8 + 9 + if exists("syntax_on") 10 + syntax reset 11 + endif 12 + 13 + let colors_name = "photon" 14 + 15 + if ($TERM =~ '256' || &t_Co >= 256) || has("gui_running") 16 + hi Normal ctermbg=235 ctermfg=251 cterm=NONE guibg=#262626 guifg=#c6c6c6 gui=NONE 17 + 18 + set background=dark 19 + 20 + hi NonText ctermbg=bg ctermfg=237 cterm=NONE guibg=bg guifg=#3a3a3a gui=NONE 21 + hi Comment ctermbg=bg ctermfg=241 cterm=NONE guibg=bg guifg=#626262 gui=NONE 22 + hi Constant ctermbg=bg ctermfg=140 cterm=NONE guibg=bg guifg=#af87d7 gui=NONE 23 + hi Identifier ctermbg=bg ctermfg=251 cterm=NONE guibg=bg guifg=#c6c6c6 gui=NONE 24 + hi Statement ctermbg=bg ctermfg=243 cterm=NONE guibg=bg guifg=#767676 gui=NONE 25 + hi Operator ctermbg=bg ctermfg=251 cterm=bold guibg=bg guifg=#c6c6c6 gui=bold 26 + hi PreProc ctermbg=bg ctermfg=243 cterm=NONE guibg=bg guifg=#767676 gui=NONE 27 + hi Type ctermbg=bg ctermfg=251 cterm=NONE guibg=bg guifg=#c6c6c6 gui=NONE 28 + hi Special ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 29 + hi Error ctermbg=NONE ctermfg=132 cterm=NONE guibg=NONE guifg=#af5f87 gui=NONE 30 + hi Warning ctermbg=NONE ctermfg=136 cterm=NONE guibg=NONE guifg=#af8700 gui=NONE 31 + hi ModeMsg ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 32 + hi Todo ctermbg=NONE ctermfg=167 cterm=bold guibg=NONE guifg=#d75f5f gui=bold 33 + hi Underlined ctermbg=NONE ctermfg=251 cterm=underline guibg=NONE guifg=#c6c6c6 gui=underline 34 + hi StatusLine ctermbg=237 ctermfg=140 cterm=NONE guibg=#3a3a3a guifg=#af87d7 gui=NONE 35 + hi StatusLineNC ctermbg=236 ctermfg=243 cterm=NONE guibg=#303030 guifg=#767676 gui=NONE 36 + hi WildMenu ctermbg=236 ctermfg=167 cterm=NONE guibg=#303030 guifg=#d75f5f gui=NONE 37 + hi VertSplit ctermbg=236 ctermfg=236 cterm=NONE guibg=#303030 guifg=#303030 gui=NONE 38 + hi Title ctermbg=NONE ctermfg=243 cterm=bold guibg=NONE guifg=#767676 gui=bold 39 + hi LineNr ctermbg=NONE ctermfg=241 cterm=NONE guibg=NONE guifg=#626262 gui=NONE 40 + hi CursorLineNr ctermbg=236 ctermfg=140 cterm=NONE guibg=#303030 guifg=#af87d7 gui=NONE 41 + hi Cursor ctermbg=140 ctermfg=251 cterm=NONE guibg=#af87d7 guifg=#c6c6c6 gui=NONE 42 + hi CursorLine ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE 43 + hi ColorColumn ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE 44 + hi SignColumn ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 45 + hi Visual ctermbg=237 ctermfg=NONE cterm=NONE guibg=#3a3a3a guifg=NONE gui=NONE 46 + hi VisualNOS ctermbg=238 ctermfg=NONE cterm=NONE guibg=#444444 guifg=NONE gui=NONE 47 + hi Pmenu ctermbg=237 ctermfg=NONE cterm=NONE guibg=#3a3a3a guifg=NONE gui=NONE 48 + hi PmenuSbar ctermbg=236 ctermfg=NONE cterm=NONE guibg=#303030 guifg=NONE gui=NONE 49 + hi PmenuSel ctermbg=236 ctermfg=140 cterm=NONE guibg=#303030 guifg=#af87d7 gui=NONE 50 + hi PmenuThumb ctermbg=167 ctermfg=NONE cterm=NONE guibg=#d75f5f guifg=NONE gui=NONE 51 + hi FoldColumn ctermbg=NONE ctermfg=241 cterm=NONE guibg=NONE guifg=#626262 gui=NONE 52 + hi Folded ctermbg=234 ctermfg=243 cterm=NONE guibg=#1c1c1c guifg=#767676 gui=NONE 53 + hi SpecialKey ctermbg=NONE ctermfg=243 cterm=NONE guibg=NONE guifg=#767676 gui=NONE 54 + hi IncSearch ctermbg=167 ctermfg=235 cterm=NONE guibg=#d75f5f guifg=#262626 gui=NONE 55 + hi Search ctermbg=140 ctermfg=235 cterm=NONE guibg=#af87d7 guifg=#262626 gui=NONE 56 + hi Directory ctermbg=NONE ctermfg=140 cterm=NONE guibg=NONE guifg=#af87d7 gui=NONE 57 + hi MatchParen ctermbg=NONE ctermfg=167 cterm=bold guibg=NONE guifg=#d75f5f gui=bold 58 + hi SpellBad ctermbg=NONE ctermfg=132 cterm=underline guibg=NONE guifg=#af5f87 gui=underline 59 + hi SpellCap ctermbg=NONE ctermfg=108 cterm=underline guibg=NONE guifg=#87af87 gui=underline 60 + hi SpellLocal ctermbg=NONE ctermfg=68 cterm=underline guibg=NONE guifg=#5f87ff gui=underline 61 + hi SpellRare ctermbg=NONE ctermfg=136 cterm=underline guibg=NONE guifg=#af8700 gui=underline 62 + hi QuickFixLine ctermbg=234 ctermfg=NONE cterm=NONE guibg=#1c1c1c guifg=NONE gui=NONE 63 + hi DiffAdd ctermbg=NONE ctermfg=108 cterm=NONE guibg=NONE guifg=#87af87 gui=NONE 64 + hi DiffChange ctermbg=NONE ctermfg=136 cterm=NONE guibg=NONE guifg=#af8700 gui=NONE 65 + hi DiffDelete ctermbg=NONE ctermfg=132 cterm=NONE guibg=NONE guifg=#af5f87 gui=NONE 66 + hi DiffText ctermbg=NONE ctermfg=167 cterm=NONE guibg=NONE guifg=#d75f5f gui=NONE 67 + 68 + elseif &t_Co == 8 || $TERM !~# '^linux' || &t_Co == 16 69 + set t_Co=16 70 + 71 + hi Normal ctermbg=black ctermfg=white cterm=NONE 72 + 73 + set background=dark 74 + 75 + hi NonText ctermbg=bg ctermfg=darkgray cterm=NONE 76 + hi Comment ctermbg=bg ctermfg=darkgray cterm=NONE 77 + hi Constant ctermbg=bg ctermfg=darkmagenta cterm=NONE 78 + hi Identifier ctermbg=bg ctermfg=white cterm=NONE 79 + hi Statement ctermbg=bg ctermfg=darkgray cterm=NONE 80 + hi Operator ctermbg=bg ctermfg=white cterm=bold 81 + hi PreProc ctermbg=bg ctermfg=darkgray cterm=NONE 82 + hi Type ctermbg=bg ctermfg=white cterm=NONE 83 + hi Special ctermbg=NONE ctermfg=darkgray cterm=NONE 84 + hi Error ctermbg=NONE ctermfg=darkred cterm=NONE 85 + hi Warning ctermbg=NONE ctermfg=darkyellow cterm=NONE 86 + hi ModeMsg ctermbg=NONE ctermfg=darkgray cterm=NONE 87 + hi Todo ctermbg=NONE ctermfg=red cterm=bold 88 + hi Underlined ctermbg=NONE ctermfg=white cterm=underline 89 + hi StatusLine ctermbg=darkgray ctermfg=darkmagenta cterm=NONE 90 + hi StatusLineNC ctermbg=darkgray ctermfg=darkgray cterm=NONE 91 + hi WildMenu ctermbg=darkgray ctermfg=red cterm=NONE 92 + hi VertSplit ctermbg=darkgray ctermfg=darkgray cterm=NONE 93 + hi Title ctermbg=NONE ctermfg=darkgray cterm=bold 94 + hi LineNr ctermbg=NONE ctermfg=darkgray cterm=NONE 95 + hi CursorLineNr ctermbg=darkgray ctermfg=darkmagenta cterm=NONE 96 + hi Cursor ctermbg=darkmagenta ctermfg=white cterm=NONE 97 + hi CursorLine ctermbg=darkgray ctermfg=NONE cterm=NONE 98 + hi ColorColumn ctermbg=black ctermfg=NONE cterm=NONE 99 + hi SignColumn ctermbg=NONE ctermfg=darkgray cterm=NONE 100 + hi Visual ctermbg=darkgray ctermfg=NONE cterm=NONE 101 + hi VisualNOS ctermbg=darkgray ctermfg=NONE cterm=NONE 102 + hi Pmenu ctermbg=darkgray ctermfg=NONE cterm=NONE 103 + hi PmenuSbar ctermbg=darkgray ctermfg=NONE cterm=NONE 104 + hi PmenuSel ctermbg=darkgray ctermfg=darkmagenta cterm=NONE 105 + hi PmenuThumb ctermbg=red ctermfg=NONE cterm=NONE 106 + hi FoldColumn ctermbg=NONE ctermfg=darkgray cterm=NONE 107 + hi Folded ctermbg=black ctermfg=darkgray cterm=NONE 108 + hi SpecialKey ctermbg=NONE ctermfg=darkgray cterm=NONE 109 + hi IncSearch ctermbg=red ctermfg=black cterm=NONE 110 + hi Search ctermbg=darkmagenta ctermfg=black cterm=NONE 111 + hi Directory ctermbg=NONE ctermfg=darkmagenta cterm=NONE 112 + hi MatchParen ctermbg=NONE ctermfg=red cterm=bold 113 + hi SpellBad ctermbg=NONE ctermfg=darkred cterm=underline 114 + hi SpellCap ctermbg=NONE ctermfg=darkgreen cterm=underline 115 + hi SpellLocal ctermbg=NONE ctermfg=blue cterm=underline 116 + hi SpellRare ctermbg=NONE ctermfg=darkyellow cterm=underline 117 + hi QuickFixLine ctermbg=black ctermfg=NONE cterm=NONE 118 + hi DiffAdd ctermbg=NONE ctermfg=darkgreen cterm=NONE 119 + hi DiffChange ctermbg=NONE ctermfg=darkyellow cterm=NONE 120 + hi DiffDelete ctermbg=NONE ctermfg=darkred cterm=NONE 121 + hi DiffText ctermbg=NONE ctermfg=red cterm=NONE 122 + endif 123 + 124 + let links = [ 125 + \ ['Character', 'Constant'], 126 + \ ['Number', 'Constant'], 127 + \ ['Float', 'Number'], 128 + \ ['Boolean', 'Constant'], 129 + \ ['String', 'Constant'], 130 + \ ['Function', 'Identifier'], 131 + \ ['Conditonal', 'Statement'], 132 + \ ['Repeat', 'Statement'], 133 + \ ['Label', 'Statement'], 134 + \ ['Keyword', 'Statement'], 135 + \ ['Exception', 'Statement'], 136 + \ ['Include', 'PreProc'], 137 + \ ['Define', 'PreProc'], 138 + \ ['Macro', 'PreProc'], 139 + \ ['PreCondit', 'PreProc'], 140 + \ ['StorageClass', 'Type'], 141 + \ ['Structure', 'Type'], 142 + \ ['Typedef', 'Type'], 143 + \ ['SpecialChar', 'Special'], 144 + \ ['Tag', 'Special'], 145 + \ ['Delimiter', 'Special'], 146 + \ ['SpecialComment', 'Special'], 147 + \ ['Debug', 'Special'], 148 + \ ['ErrorMsg', 'Error'], 149 + \ ['WarningMsg', 'Warning'], 150 + \ ['MoreMsg', 'ModeMsg'], 151 + \ ['Question', 'ModeMsg'], 152 + \ ['Ignore', 'NonText'], 153 + \ ['StatusLineTerm', 'StatusLine'], 154 + \ ['StatusLineTermNC', 'StatusLineNC'], 155 + \ ['TabLine', 'StatusLineNC'], 156 + \ ['TabLineFill', 'StatusLineNC'], 157 + \ ['TabLineSel', 'StatusLine'], 158 + \ ['CursorColumn', 'CursorLine'], 159 + \ ['diffAdded', 'DiffAdd'], 160 + \ ['diffRemoved', 'DiffDelete'], 161 + \ ] 162 + 163 + augroup photon 164 + autocmd! 165 + autocmd ColorScheme * if expand("<amatch>") == "photon" | for link in links | execute 'hi! link' link[0] link[1] | endfor | else | for link in links | execute 'hi link' link[0] 'NONE' | endfor | endif 166 + augroup END 167 + 168 + " Generated with RNB (https://gist.github.com/romainl/5cd2f4ec222805f49eca)
+245
home-manager/neovim/colors/spartan.vim
··· 1 + set background=dark 2 + highlight clear 3 + if exists("syntax_on") 4 + syntax reset 5 + endif 6 + let g:colors_name="spartan" 7 + 8 + " System colors 9 + " 0 1 2 3 4 5 6 7 10 + " 8 9 10 11 12 13 14 15 11 + " 12 + " 6x6x6 color cube 13 + " 16 17 18 19 20 21 | 88 89 90 91 92 93 | 160 161 162 163 164 165 14 + " 22 23 24 25 26 27 | 94 95 96 97 98 99 | 166 167 168 169 170 171 15 + " 28 29 30 31 32 33 | 100 101 102 103 104 105 | 172 173 174 175 176 177 16 + " 34 35 36 37 38 39 | 106 107 108 109 110 111 | 178 179 180 181 182 183 17 + " 40 41 42 43 44 45 | 112 113 114 115 116 117 | 184 185 186 187 188 189 18 + " 46 47 48 49 50 51 | 118 119 120 121 122 123 | 190 191 192 193 194 195 19 + " 82 83 84 85 86 87 | 154 155 156 157 158 159 | 226 227 228 229 230 231 20 + " 76 77 78 79 80 81 | 148 149 150 151 152 153 | 220 221 222 223 224 225 21 + " 70 71 72 73 74 75 | 142 143 144 145 146 147 | 214 215 216 217 218 219 22 + " 64 65 66 67 68 69 | 136 137 138 139 140 141 | 208 209 210 211 212 213 23 + " 58 59 60 61 62 63 | 130 131 132 133 134 135 | 202 203 204 205 206 207 24 + " 52 53 54 55 56 57 | 124 125 126 127 128 129 | 196 197 198 199 200 201 25 + " 26 + " 27 + " Grayscale 28 + " 232 233 234 235 236 237 238 239 240 241 242 243 29 + " 244 245 246 247 248 249 250 251 252 253 254 255 256 30 + 31 + " Color palette 32 + " 234 245 239 236 66 58 255 29 88 101 33 + let defaultBackground = 234 34 + let defaultForeground = 245 35 + let gray = 239 36 + let smoke = 236 37 + let persian = 66 38 + let messenger = 101 " 58 60 95 39 + let white = 255 40 + let arcadian = 29 41 + let leonidas = 88 42 + let dilios = 58 43 + 44 + let s:colormap={255: '#EEEEEE', 234: '#1c1c1c', 239: '#4e4e4e', 245: '#8a8a8a', 236: '#303030', 66: '#5F8787', 101: '#87875F', 29: '#00875F', 88: '#870000', 58: '#5F5F00', 'none': 'NONE'} 45 + 46 + function! s:HL(item, fgColor, bgColor, style) 47 + execute 'hi ' . a:item . ' ctermfg=' . a:fgColor . ' ctermbg=' . a:bgColor . ' guifg= ' . s:colormap[a:fgColor] . ' guibg= ' . s:colormap[a:bgColor] . ' cterm=' . a:style 48 + endfunction 49 + 50 + call s:HL('Normal', defaultForeground, defaultBackground, 'none') " Normal text 51 + call s:HL('Cursor', defaultBackground, defaultForeground, 'none') " The character under the cursor 52 + call s:HL('CursorLine', 'none', smoke, 'none') " Line the cursor is on when 'cursorcolumn' set used in quickfix / unite 53 + call s:HL('CursorColumn', 'none', smoke, 'none') " The screen column that the cursor is in when 'cursorcolumn' is set 54 + call s:HL('SignColumn', persian, smoke, 'none') " The gutter where signs are displayed 55 + call s:HL('Folded', defaultForeground, smoke, 'none') " The coloring used for folded lines 56 + call s:HL('VertSplit', smoke, smoke, 'none') " The column separating vertically split windows 57 + call s:HL('Search', white, 'none', 'bold') " The highlighting for the last search pattern 58 + call s:HL('IncSearch', smoke, arcadian, 'underline') " The highlighting for in criminal searching and for find and replace 59 + call s:HL('StatusLine', smoke, messenger, 'reverse') " The status line of the current window 60 + call s:HL('StatusLineNC', smoke, defaultForeground, 'reverse') " The status line of the noncurrent windows 61 + call s:HL('WildMenu', smoke, arcadian, 'none') " The current match in wildmenu completion 62 + call s:HL('MatchParen', 'none', gray, 'none') " The opening or closing sibling of the currently highlighted bracket 63 + call s:HL('Visual', defaultBackground, gray, 'none') " The visual mode selection 64 + call s:HL('NonText', smoke, 'none', 'none') " For characters that did not really exist in the text 65 + call s:HL('Todo', smoke, defaultBackground, 'bold') " Keywords like; TODO, FIXME, XXX 66 + call s:HL('Underlined', persian, 'none', 'underline') " HTML anchor tag 67 + call s:HL('Error', white, leonidas, 'none') " Error highlighting 68 + call s:HL('ErrorMsg', white, leonidas, 'none') " Error messages on the command line 69 + call s:HL('WarningMsg', leonidas, 'none', 'none') " Warning message used in status line 70 + call s:HL('SpecialKey', smoke, 'none', 'none') " More for non- printable text tabs and such 71 + call s:HL('LineNr', dilios, 'none', 'none') " Line number used in quick fix window 72 + 73 + " :help group-name 74 + call s:HL('Consmessengert', 'none', 'none', 'none') 75 + call s:HL('String', messenger, 'none', 'none') 76 + call s:HL('Character', 'none', 'none', 'none') 77 + call s:HL('Number', 'none', 'none', 'none') 78 + call s:HL('Boolean', 'none', 'none', 'none') 79 + call s:HL('Float', 'none', 'none', 'none') 80 + call s:HL('Identifier', 'none', 'none', 'none') 81 + call s:HL('Function', 'none', 'none', 'none') 82 + call s:HL('Statement', 'none', 'none', 'none') 83 + call s:HL('Conditional', 'none', 'none', 'none') 84 + call s:HL('Repeat', 'none', 'none', 'none') 85 + call s:HL('Label', 'none', 'none', 'none') 86 + call s:HL('Operator', 'none', 'none', 'none') 87 + call s:HL('Keyword', 'none', 'none', 'none') 88 + call s:HL('Exception', 'none', 'none', 'none') 89 + call s:HL('Special', 'none', 'none', 'none') 90 + call s:HL('SpecialChar', 'none', 'none', 'none') 91 + call s:HL('Tag', 'none', 'none', 'none') 92 + call s:HL('Delimiter', 'none', 'none', 'none') 93 + call s:HL('SpecialComment', 'none', 'none', 'none') 94 + call s:HL('Debug', 'none', 'none', 'none') 95 + call s:HL('Directory', persian, 'none', 'none') 96 + call s:HL('Comment', gray, 'none', 'none') 97 + call s:HL('PreProc', persian, 'none', 'none') 98 + call s:HL('Constant', persian, 'none', 'none') 99 + call s:HL('Type', defaultForeground, 'none', 'none') 100 + 101 + " Placeholder characters substituted for concealed text 102 + call s:HL('Conceal', defaultForeground, gray, 'none') 103 + 104 + " Highlighting for VimDiff 105 + call s:HL('DiffAdd', persian, smoke, 'bold') 106 + call s:HL('DiffChange', 'none', smoke, 'none') 107 + call s:HL('DiffDelete', smoke, gray, 'none') 108 + call s:HL('DiffText', leonidas, smoke, 'bold') 109 + 110 + " Popup menu styles 111 + call s:HL('Pmenu', defaultForeground, smoke, 'none') 112 + call s:HL('PmenuSel', defaultForeground, smoke, 'reverse') 113 + call s:HL('PmenuSbar', defaultForeground, 'none', 'none') 114 + call s:HL('PmenuThumb', leonidas, 'none', 'none') 115 + 116 + " Spelling 117 + call s:HL('SpellBad', white, leonidas, 'underline') 118 + call s:HL('SpellCap', persian, smoke, 'underline') 119 + call s:HL('SpellLocal', persian, smoke, 'underline') 120 + call s:HL('SpellRare', persian, smoke, 'underline') 121 + 122 + " Python specific highlighting 123 + call s:HL('pythonStatement', defaultForeground, defaultBackground, 'none') 124 + call s:HL('pythonFunction', defaultForeground, defaultBackground, 'none') 125 + call s:HL('pythonConditional', defaultForeground, defaultBackground, 'none') 126 + call s:HL('pythonRepeat', defaultForeground, defaultBackground, 'none') 127 + call s:HL('pythonException', defaultForeground, defaultBackground, 'none') 128 + call s:HL('pythonInclude', defaultForeground, defaultBackground, 'none') 129 + call s:HL('pythonPreCondit', defaultForeground, defaultBackground, 'none') 130 + call s:HL('pythonExClass', defaultForeground, defaultBackground, 'none') 131 + call s:HL('pythonDecorator', defaultForeground, defaultBackground, 'none') 132 + 133 + " Javascript specific highlighting 134 + call s:HL('jsFunction', defaultForeground, defaultBackground, 'none') 135 + call s:HL('jsFuncCall', defaultForeground, defaultBackground, 'none') 136 + call s:HL('jsConditional', defaultForeground, defaultBackground, 'none') 137 + call s:HL('jsRepeat', defaultForeground, defaultBackground, 'none') 138 + call s:HL('jsNumber', defaultForeground, defaultBackground, 'none') 139 + call s:HL('jsMember', defaultForeground, defaultBackground, 'none') 140 + call s:HL('jsModules', defaultForeground, defaultBackground, 'none') 141 + call s:HL('jsModuleWords', defaultForeground, defaultBackground, 'none') 142 + 143 + " Html specific highlighting 144 + call s:HL('htmlTag', defaultForeground, defaultBackground, 'none') 145 + call s:HL('htmlTagName', defaultForeground, defaultBackground, 'none') 146 + call s:HL('htmlArg', defaultForeground, defaultBackground, 'none') 147 + call s:HL('htmlScriptTag', defaultForeground, defaultBackground, 'none') 148 + call s:HL('htmlH', defaultForeground, defaultBackground, 'none') 149 + call s:HL('htmlH1', defaultForeground, defaultBackground, 'none') 150 + call s:HL('htmlH2', defaultForeground, defaultBackground, 'none') 151 + call s:HL('htmlH3', defaultForeground, defaultBackground, 'none') 152 + call s:HL('htmlH4', defaultForeground, defaultBackground, 'none') 153 + call s:HL('htmlHead', defaultForeground, defaultBackground, 'none') 154 + call s:HL('htmlTitle', defaultForeground, defaultBackground, 'none') 155 + 156 + " CSS specific highlighting 157 + call s:HL('cssDefinition', defaultForeground, defaultBackground, 'none') 158 + call s:HL('cssAttrRegion', defaultForeground, defaultBackground, 'none') 159 + call s:HL('cssCommonAttr', defaultForeground, defaultBackground, 'none') 160 + call s:HL('cssAttr', defaultForeground, defaultBackground, 'none') 161 + call s:HL('lessDefinition', defaultForeground, defaultBackground, 'none') 162 + call s:HL('lessNestedSelector', defaultForeground, defaultBackground, 'none') 163 + call s:HL('lessClass', defaultForeground, defaultBackground, 'none') 164 + call s:HL('cssPseudoClass', defaultForeground, defaultBackground, 'none') 165 + call s:HL('cssPseudoClassId', defaultForeground, defaultBackground, 'none') 166 + call s:HL('cssColor', defaultForeground, defaultBackground, 'none') 167 + call s:HL('lessVariableValue', defaultForeground, defaultBackground, 'none') 168 + call s:HL('cssInclude', defaultForeground, defaultBackground, 'none') 169 + call s:HL('cssIncludeKeyword', defaultForeground, defaultBackground, 'none') 170 + call s:HL('cssVendor', defaultForeground, defaultBackground, 'none') 171 + 172 + " Clojure specific highlighting 173 + call s:HL('clojureConsmessengert', defaultForeground, defaultBackground, 'none') 174 + call s:HL('clojureBoolean', defaultForeground, defaultBackground, 'none') 175 + call s:HL('clojureCharacter', defaultForeground, defaultBackground, 'none') 176 + call s:HL('clojureKeyword', defaultForeground, defaultBackground, 'none') 177 + call s:HL('clojureNumber', defaultForeground, defaultBackground, 'none') 178 + call s:HL('clojureString', messenger, defaultBackground, 'none') 179 + call s:HL('clojureRegexp', messenger, defaultBackground, 'none') 180 + call s:HL('clojureParen', defaultForeground, defaultBackground, 'none') 181 + call s:HL('clojureVariable', defaultForeground, defaultBackground, 'none') 182 + call s:HL('clojureCond', defaultForeground, defaultBackground, 'none') 183 + call s:HL('clojuleonidasefine', defaultForeground, defaultBackground, 'none') 184 + call s:HL('clojureException', defaultForeground, defaultBackground, 'none') 185 + call s:HL('clojureFunc', defaultForeground, defaultBackground, 'none') 186 + call s:HL('clojureMacro', defaultForeground, defaultBackground, 'none') 187 + call s:HL('clojureRepeat', defaultForeground, defaultBackground, 'none') 188 + call s:HL('clojureSpecial', defaultForeground, defaultBackground, 'none') 189 + call s:HL('clojureQuote', defaultForeground, defaultBackground, 'none') 190 + call s:HL('clojureUnquote', defaultForeground, defaultBackground, 'none') 191 + call s:HL('clojureMeta', defaultForeground, defaultBackground, 'none') 192 + call s:HL('clojuleonidaseref', defaultForeground, defaultBackground, 'none') 193 + call s:HL('clojureAnonArg', defaultForeground, defaultBackground, 'none') 194 + call s:HL('clojuleonidasispatch', defaultForeground, defaultBackground, 'none') 195 + call s:HL('clojureConstant', defaultForeground, defaultBackground, 'none') 196 + call s:HL('clojureDefine', defaultForeground, defaultBackground, 'none') 197 + 198 + " Ruby specific highlighting 199 + call s:HL('rubyClass', defaultForeground, defaultBackground, 'none') 200 + call s:HL('rubyKeyword', defaultForeground, defaultBackground, 'none') 201 + call s:HL('rubyOperator', defaultForeground, defaultBackground, 'none') 202 + call s:HL('rubyDefine', defaultForeground, defaultBackground, 'none') 203 + call s:HL('rubyIdentifier', defaultForeground, defaultBackground, 'none') 204 + call s:HL('rubyInclude', defaultForeground, defaultBackground, 'none') 205 + call s:HL('rubySymbol', defaultForeground, defaultBackground, 'none') 206 + call s:HL('rubyKeyword', defaultForeground, defaultBackground, 'none') 207 + 208 + " SQL specific highlighting 209 + call s:HL('sqlKeyword', defaultForeground, defaultBackground, 'none') 210 + call s:HL('sqlFunction', defaultForeground, defaultBackground, 'none') 211 + call s:HL('sqlStatement', defaultForeground, defaultBackground, 'none') 212 + call s:HL('sqlSpecial', defaultForeground, defaultBackground, 'none') 213 + 214 + " Bash specific highlighting 215 + call s:HL('shIf', defaultForeground, defaultBackground, 'none') 216 + call s:HL('shDerefSimple', defaultForeground, defaultBackground, 'none') 217 + call s:HL('shDeref', defaultForeground, defaultBackground, 'none') 218 + call s:HL('zshDeref', defaultForeground, defaultBackground, 'none') 219 + call s:HL('shShellVariables', defaultForeground, defaultBackground, 'none') 220 + call s:HL('zshString', defaultForeground, defaultBackground, 'none') 221 + call s:HL('zshSubst', defaultForeground, defaultBackground, 'none') 222 + call s:HL('zshSubstDelim', defaultForeground, defaultBackground, 'none') 223 + 224 + 225 + " Used for wiki plugin 226 + call s:HL('WikiLink', persian, 'none', 'underline') 227 + call s:HL('markdownLinkText', leonidas, 'none', 'underline') 228 + 229 + " Markdown 230 + call s:HL('markdownH1', persian, 'none', 'none') 231 + call s:HL('markdownH2', persian, 'none', 'none') 232 + call s:HL('markdownH3', persian, 'none', 'none') 233 + call s:HL('markdownH4', persian, 'none', 'none') 234 + call s:HL('markdownH5', persian, 'none', 'none') 235 + call s:HL('markdownH6', persian, 'none', 'none') 236 + 237 + " Vimfiler 238 + call s:HL('vimfilerOpenedFile', persian, 'none', 'none') 239 + call s:HL('vimfilerClosedFile', persian, 'none', 'none') 240 + call s:HL('uniteExrenameModified', defaultForeground, defaultBackground, 'none') 241 + 242 + " Sneak plugin specific highlighting 243 + call s:HL('SneakPluginTarget', persian, defaultBackground, 'underline') 244 + call s:HL('SneakStreakTarget', smoke, persian, 'none') 245 + call s:HL('SneakStreakMask', persian, persian, 'none')
+7
home-manager/neovim/config/ale.vim
··· 1 + let g:ale_linters = { 2 + \ 'javascript': ['eslint', 'jshint', 'standard', 'tsserver'], 3 + \} 4 + 5 + let g:ale_set_ballons=1 6 + let g:ale_floating_preview=1 7 + let g:ale_hover_to_floating_preview=1
+34
home-manager/neovim/config/aliases.vim
··· 1 + " Resize control 2 + nmap <left> :vertical resize -5<CR> 3 + nmap <up> :resize -5<CR> 4 + nmap <down> :resize +5<CR> 5 + nmap <right> :vertical resize +5<CR> 6 + 7 + " Tabs 8 + map <C-t>k :tabr<CR> 9 + map <C-t>t :tabnew<CR> 10 + map <C-t>h :tabp<CR> 11 + map <C-t>l :tabn<CR> 12 + map <C-t>1 :tabn1<CR> 13 + map <C-t>2 :tabn2<CR> 14 + 15 + " Keyboard shortcuts 16 + noremap <C-h> <C-w>h 17 + noremap <C-j> <C-w>j 18 + noremap <C-k> <C-w>k 19 + noremap <C-l> <C-w>l 20 + 21 + " Find files using Telescope command-line sugar. 22 + nnoremap <C-f>f <cmd>Telescope find_files<cr> 23 + nnoremap <C-f>b <cmd>Telescope buffers<cr> 24 + nnoremap <C-f>h <cmd>Telescope help_tags<cr> 25 + 26 + " go to Normal mode on integrated terminal 27 + tnoremap <Esc> <C-\><C-n> 28 + 29 + " vim-test 30 + nmap <silent> <leader>t :TestNearest<CR> 31 + nmap <silent> <leader>T :TestFile<CR> 32 + nmap <silent> <leader>a :TestSuite<CR> 33 + nmap <silent> <leader>l :TestLast<CR> 34 + nmap <silent> <leader>g :TestVisit<CR>
+29
home-manager/neovim/config/bundles.vim
··· 1 + " Brief help 2 + " :PluginList - lists configured plugins 3 + " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate 4 + " :PluginSearch foo - searches for foo; append `!` to refresh local cache 5 + " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal 6 + " 7 + " see :h vundle for more details or wiki for FAQ 8 + " Put your non-Plugin stuff after this line 9 + 10 + 11 + " let Vundle manage Vundle, required 12 + Plugin 'VundleVim/Vundle.vim' 13 + 14 + Plugin 'tpope/vim-fugitive' 15 + Plugin 'scrooloose/nerdtree' 16 + Plugin 'townk/vim-autoclose' 17 + Plugin 'editorconfig/editorconfig-vim' 18 + Plugin 'pangloss/vim-javascript' 19 + Plugin 'w0rp/ale' 20 + Plugin 'itchyny/lightline.vim' 21 + Plugin 'leafgarland/typescript-vim' 22 + Plugin 'rust-lang/rust.vim' 23 + Plugin 'airblade/vim-gitgutter' 24 + Plugin 'nvim-lua/plenary.nvim' 25 + Plugin 'nvim-telescope/telescope.nvim' 26 + Plugin 'neoclide/coc.nvim', {'branch': 'release'} 27 + Plugin 'vim-test/vim-test' 28 + Plugin 'catppuccin/vim', { 'as': 'catppuccin' } 29 +
+4
home-manager/neovim/config/coc.vim
··· 1 + inoremap <silent><expr> <c-space> coc#refresh() 2 + 3 + inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" 4 + inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
+18
home-manager/neovim/config/filetypes.vim
··· 1 + " commands to compile in specific typefile 2 + autocmd FileType markdown,md,rmd map <F5> :! (echo 'require("rmarkdown"); render("'%'");'<bar> R --vanilla) <CR> 3 + 4 + " Python 5 + autocmd FileType python map <F5> :!python3.8 % <CR> 6 + 7 + " C/C++ 8 + autocmd FileType c map <F5> :!gcc % && ./a.out <CR> 9 + autocmd FileType cpp map <F5> :!g++ % && ./a.out <CR> 10 + 11 + " TexFiles 12 + autocmd FileType tex map <F6> :!xelatex % && biber %:r && xelatex % <CR> 13 + autocmd FileType tex map <F5> :!xelatex %<CR> 14 + 15 + " JS 16 + autocmd FileType javascript map <F6> :!npm run test % -- --coverage=false<CR> 17 + autocmd FileType javascript compiler eslint 18 + autocmd FileType javascript setlocal makeprg=npm\ run\ lint\ --\ --format\ compact
+27
home-manager/neovim/config/nerdtree.vim
··· 1 + " NERDTree 2 + autocmd StdinReadPre * let s:std_in=1 3 + autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif 4 + map <C-n> :NERDTreeToggle<CR> 5 + 6 + " NERDTress File highlighting 7 + function! NERDTreeHighlightFile(extension, fg, bg, guifg, guibg) 8 + exec 'autocmd filetype nerdtree highlight ' . a:extension .' ctermbg='. a:bg .' ctermfg='. a:fg .' guibg='. a:guibg .' guifg='. a:guifg 9 + exec 'autocmd filetype nerdtree syn match ' . a:extension .' #^\s\+.*'. a:extension .'$#' 10 + endfunction 11 + 12 + call NERDTreeHighlightFile('jade', 'green', 'none', 'green', '#151515') 13 + call NERDTreeHighlightFile('ini', 'yellow', 'none', 'yellow', '#151515') 14 + call NERDTreeHighlightFile('md', 'blue', 'none', '#3366FF', '#151515') 15 + call NERDTreeHighlightFile('yml', 'yellow', 'none', 'yellow', '#151515') 16 + call NERDTreeHighlightFile('config', 'yellow', 'none', 'yellow', '#151515') 17 + call NERDTreeHighlightFile('conf', 'yellow', 'none', 'yellow', '#151515') 18 + call NERDTreeHighlightFile('json', 'yellow', 'none', 'yellow', '#151515') 19 + call NERDTreeHighlightFile('html', 'yellow', 'none', 'yellow', '#151515') 20 + call NERDTreeHighlightFile('styl', 'cyan', 'none', 'cyan', '#151515') 21 + call NERDTreeHighlightFile('css', 'cyan', 'none', 'cyan', '#151515') 22 + call NERDTreeHighlightFile('coffee', 'Red', 'none', 'red', '#151515') 23 + call NERDTreeHighlightFile('js', 'Red', 'none', '#ffa500', '#151515') 24 + call NERDTreeHighlightFile('jsx', 'Red', 'none', '#ffa500', '#151515') 25 + call NERDTreeHighlightFile('typescript', 'Red', 'none', '#ffa500', '#151515') 26 + call NERDTreeHighlightFile('php', 'Magenta', 'none', '#ff00ff', '#151515') 27 +
+6
home-manager/neovim/config/skeletons.vim
··· 1 + " custom skeletons 2 + nnoremap ,html :-1read $HOME/.vim/.skeleton.html<CR> 3 + nnoremap ,py :-1read $HOME/.vim/.skeleton.py<CR> 4 + nnoremap ,tex :-1read $HOME/.vim/.skeleton.tex<CR> 5 + nnoremap ,vue :-1read $HOME/.vim/.skeleton.vue.test<CR> 6 +
+3
home-manager/neovim/config/test.vim
··· 1 + let g:test#javascript#runner = 'jest' 2 + let test#strategy = 'neovim' 3 +
+35
home-manager/neovim/default.nix
··· 1 + { 2 + programs.neovim.enable = true; 3 + 4 + home.file = { 5 + ".vimrc".source = ./vimrc; 6 + 7 + ".config/nvim/init.vim".text = '' 8 + set runtimepath^=~/.vim runtimepath+=~/.vim/after 9 + let &packpath = &runtimepath 10 + source ~/.vimrc 11 + ''; 12 + 13 + ".config/vim/ale.vim".source = ./config/ale.vim; 14 + ".config/vim/aliases.vim".source = ./config/aliases.vim; 15 + ".config/vim/bundles.vim".source = ./config/bundles.vim; 16 + ".config/vim/coc.vim".source = ./config/coc.vim; 17 + ".config/vim/filetypes.vim".source = ./config/filetypes.vim; 18 + ".config/vim/nerdtree.vim".source = ./config/nerdtree.vim; 19 + ".config/vim/skeletons.vim".source = ./config/skeletons.vim; 20 + ".config/vim/test.vim".source = ./config/test.vim; 21 + 22 + ".vim/colors/Blaaark.vim".source = ./colors/Blaaark.vim; 23 + ".vim/colors/hashpunk-lapis.vim".source = ./colors/hashpunk-lapis.vim; 24 + ".vim/colors/monotonic.vim".source = ./colors/monotonic.vim; 25 + ".vim/colors/nighted.vim".source = ./colors/nighted.vim; 26 + ".vim/colors/photon.vim".source = ./colors/photon.vim; 27 + ".vim/colors/spartan.vim".source = ./colors/spartan.vim; 28 + 29 + ".vim/.skeleton.html".source = ./skeletons/.skeleton.html; 30 + ".vim/.skeleton.py".source = ./skeletons/.skeleton.py; 31 + ".vim/.skeleton.tex".source = ./skeletons/.skeleton.tex; 32 + ".vim/.skeleton.vue.test".source = ./skeletons/.skeleton.vue.test; 33 + }; 34 + 35 + }
+8
home-manager/neovim/skeletons/.skeleton.html
··· 1 + <!doctype html> 2 + <html> 3 + <head> 4 + <title></title> 5 + </head> 6 + <body> 7 + </body> 8 + </html>
+2
home-manager/neovim/skeletons/.skeleton.py
··· 1 + if __name__ == '__main__': 2 +
+17
home-manager/neovim/skeletons/.skeleton.tex
··· 1 + \documentclass{article} 2 + 3 + \usepackage[backend=biber]{biblatex} 4 + \addbibresource{bibliography.bib} 5 + 6 + \usepackage{indentfirst} 7 + \usepackage[brazilian]{babel} 8 + 9 + \usepackage{blindtext} 10 + 11 + %enconding 12 + \usepackage[utf8]{inputenc} 13 + \usepackage[T1]{fontenc} 14 + 15 + \begin{document} 16 + 17 + \end{document}
+17
home-manager/neovim/skeletons/.skeleton.vue.test
··· 1 + import { mount } from '@vue/test-utils'; 2 + 3 + import _ from '' 4 + 5 + describe('', () => { 6 + it('[RENDER] Check vue instance', () => { 7 + const wrapper = mount() 8 + 9 + expect(wrapper.isVueInstance()).toBeTruthy(); 10 + }); 11 + 12 + it('[SNAPSHOT] Check structure', () => { 13 + const wrapper = mount() 14 + 15 + expect(wrapper.html()).toMatchSnapshot(); 16 + }); 17 + });
+110
home-manager/neovim/vimrc
··· 1 + set autoread " reload files when changed on disk 2 + set number " display line numbers on the left side 3 + set relativenumber " set numbers to be relativer to actual position 4 + set laststatus=2 " always display the status line 5 + set showtabline=2 6 + set splitbelow " new splits will be at the bottom or to the right side of the screen 7 + set splitright 8 + set wildchar=<Tab> wildmenu wildmode=full " set TAB the be the autocomplete 9 + set wildignore+=**/node_modules/** " when using :find, should ignore files in node_modules 10 + set path+=** " set current path to be searchable 11 + set list " show trailing space 12 + set listchars=tab:\|.,trail:.,extends:»,precedes:«,nbsp:× 13 + set tabstop=2 " tab use 2 spaces 14 + set expandtab " use space instead of tabs 15 + set shiftwidth=2 " when using the >> or << commands, shift lines by 2 spaces 16 + set guicursor= " makes vim to not change cursor shape 17 + 18 + set updatetime=100 " set time for vim to trigger events updates 19 + 20 + set t_Co=256 " enable 256 colors 21 + set background=dark " set background 22 + 23 + set mouse=a " add mouse suport 24 + syntax enable " enable syntax highlighting 25 + set autoindent 26 + set cursorline " highlights current line 27 + set showmatch " show the matching part of the pair for [] {} and () 28 + set directory-=. " don't store swapfiles in the current directory 29 + 30 + set foldmethod=indent 31 + set nofoldenable 32 + set foldlevel=5 33 + 34 + set updatetime=100 " controls the delay that vim can write swap files 35 + 36 + let mapleader = "," 37 + 38 + " set autochdir " set the working directory to be the same as the file that is been edited 39 + 40 + ino ' ''<left> " set autoclose of single quote 41 + 42 + 43 + if filereadable(expand("~/.config/vim/aliases.vim")) 44 + source ~/.config/vim/aliases.vim 45 + endif 46 + 47 + if filereadable(expand("~/.config/vim/filetypes.vim")) 48 + source ~/.config/vim/filetypes.vim 49 + endif 50 + 51 + 52 + if filereadable(expand("~/.config/vim/skeletons.vim")) 53 + source ~/.config/vim/skeletons.vim 54 + endif 55 + 56 + if filereadable(expand("~/.config/vim/coc.vim")) 57 + source ~/.config/vim/coc.vim 58 + endif 59 + 60 + set nocompatible " be iMproved, required 61 + filetype plugin on 62 + 63 + 64 + " Vundle configuration and plugins 65 + " 66 + " set the runtime path to include Vundle and initialize 67 + set rtp+=~/.vim/bundle/Vundle.vim 68 + call vundle#begin() 69 + 70 + " install Vundle bundles 71 + if filereadable(expand("~/.config/vim/bundles.vim")) 72 + source ~/.config/vim/bundles.vim 73 + endif 74 + 75 + call vundle#end() " required 76 + 77 + filetype plugin indent on " required 78 + 79 + if filereadable(expand("~/.config/vim/nerdtree.vim")) 80 + source ~/.config/vim/nerdtree.vim 81 + endif 82 + 83 + if filereadable(expand("~/.config/vim/ale.vim")) 84 + source ~/.config/vim/ale.vim 85 + endif 86 + 87 + if filereadable(expand("~/.config/vim/test.vim")) 88 + source ~/.config/vim/test.vim 89 + endif 90 + 91 + " enable all Python syntax highlighting features 92 + let python_highlight_all = 1 93 + 94 + let g:lightline = { 95 + \ 'colorscheme': 'deus', 96 + \} 97 + 98 + if &term =~ '256color' 99 + " disable background color erase so that color schemes 100 + " render properly when inside 256-color tmux and GNU screen 101 + set t_ut= 102 + endif 103 + 104 + set noshowmode " remove insert info 105 + 106 + if has('nvim') || has('termguicolors') 107 + set termguicolors 108 + endif 109 + 110 + colorscheme catppuccin_mocha