Browse Source

lazygit

dev
Gregory Leeman 8 months ago
parent
commit
30d81281c4
  1. 2
      after/ftplugin/csv.vim
  2. 2
      after/ftplugin/tsv.vim
  3. 2
      after/syntax/csv.vim
  4. 30
      after/syntax/sep.vim
  5. 2
      after/syntax/tsv.vim
  6. 1
      vimrc

2
after/ftplugin/csv.vim

@ -1,2 +1,2 @@
let b:div = "," let b:div = ","
runtime! ftplugin/sep.vim runtime! after/ftplugin/sep.vim

2
after/ftplugin/tsv.vim

@ -1,2 +1,2 @@
let b:div = "\t" let b:div = "\t"
runtime! ftplugin/sep.vim runtime! after/ftplugin/sep.vim

2
after/syntax/csv.vim

@ -1,4 +1,4 @@
runtime syntax/sep.vim runtime! after/syntax/sep.vim
syn match Tcolumn6 /.\{-}\(,\|$\)/ nextgroup=Tcolumn0 syn match Tcolumn6 /.\{-}\(,\|$\)/ nextgroup=Tcolumn0
syn match Tcolumn5 /.\{-}\(,\|$\)/ nextgroup=Tcolumn6 syn match Tcolumn5 /.\{-}\(,\|$\)/ nextgroup=Tcolumn6
syn match Tcolumn4 /.\{-}\(,\|$\)/ nextgroup=Tcolumn5 syn match Tcolumn4 /.\{-}\(,\|$\)/ nextgroup=Tcolumn5

30
after/syntax/sep.vim

@ -6,19 +6,19 @@ syn match greenbg /\<green\>\s*/ containedin=ALL
syn match cyanbg /\<cyan\>\s*/ containedin=ALL syn match cyanbg /\<cyan\>\s*/ containedin=ALL
syn match orangebg /\<orange\>\s*/ containedin=ALL syn match orangebg /\<orange\>\s*/ containedin=ALL
hi def link Tdiv base01 hi def link Tdiv Refbase01
hi def link Tcolumn0 blue hi def link Tcolumn0 Refblue
hi def link Tcolumn0title blueu hi def link Tcolumn0title Refblueu
hi def link Tcolumn1 magenta hi def link Tcolumn1 Refmagenta
hi def link Tcolumn1title magentau hi def link Tcolumn1title Refmagentau
hi def link Tcolumn2 yellow hi def link Tcolumn2 Refyellow
hi def link Tcolumn2title yellowu hi def link Tcolumn2title Refyellowu
hi def link Tcolumn3 violet hi def link Tcolumn3 Refviolet
hi def link Tcolumn3title violetu hi def link Tcolumn3title Refvioletu
hi def link Tcolumn4 green hi def link Tcolumn4 Refgreen
hi def link Tcolumn4title greenu hi def link Tcolumn4title Refgreenu
hi def link Tcolumn5 cyan hi def link Tcolumn5 Refcyan
hi def link Tcolumn5title cyanu hi def link Tcolumn5title Refcyanu
hi def link Tcolumn6 orange hi def link Tcolumn6 Reforange
hi def link Tcolumn6title orangeu hi def link Tcolumn6title Reforangeu
setl nowrap setl nowrap

2
after/syntax/tsv.vim

@ -1,4 +1,4 @@
runtime syntax/sep.vim runtime! after/syntax/sep.vim
syn match Tcolumn6 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn0 syn match Tcolumn6 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn0
syn match Tcolumn5 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn6 syn match Tcolumn5 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn6
syn match Tcolumn4 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn5 syn match Tcolumn4 /.\{-}\(\t\|$\)/ nextgroup=Tcolumn5

1
vimrc

@ -31,6 +31,7 @@ Plug 'godlygeek/tabular'
Plug 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plug 'jgdavey/tslime.vim' Plug 'jgdavey/tslime.vim'
Plug 'justinmk/vim-dirvish' Plug 'justinmk/vim-dirvish'
Plug 'roginfarrer/vim-dirvish-dovish'
Plug 'tpope/vim-commentary' Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'

Loading…
Cancel
Save