Sun, 19 Feb 2023 13:25:46 -0600
Use vim-illuminate
1022 | 1 | local g = vim.g |
2 | ||
3 | -- >> Undotree | |
4 | g.undotree_SplitWidth = 45 | |
5 | g.undotree_SetFocusWhenToggle = 1 | |
6 | g.undotree_ShortIndicators = 1 | |
7 | g.undotree_DiffCommand = "diff -dp -U 1" | |
8 | ||
9 | -- >> Tagbar | |
10 | g.tagbar_autoclose = 1 | |
11 | g.tagbar_autofocus = 1 | |
12 | g.tagbar_compact = 1 | |
13 | g.tagbar_width = 30 | |
14 | ||
1014 | 15 | return { |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
16 | "editorconfig/editorconfig-vim", |
1022 | 17 | |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
18 | "tpope/vim-unimpaired", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
19 | "tomtom/tcomment_vim", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
20 | "tpope/vim-endwise", |
1029
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
1022
diff
changeset
|
21 | "godlygeek/tabular", |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
22 | {"mbbill/undotree", cmd = "UndotreeToggle"}, |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
23 | |
1014 | 24 | "tpope/vim-vinegar", |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
25 | "kshenoy/vim-signature", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
26 | {"majutsushi/tagbar", cmd = "TagbarToggle"}, |
1031 | 27 | |
28 | { | |
29 | "RRethy/vim-illuminate", | |
30 | event = {"BufReadPost", "BufNewFile"}, | |
31 | opts = { | |
32 | delay = 250, | |
33 | large_file_cutoff = 15000, | |
34 | }, | |
35 | config = function(_, opts) | |
36 | require("illuminate").configure(opts) | |
37 | vim.cmd([[ | |
38 | hi! IlluminatedWordRead ctermfg=0 ctermbg=11 guifg=#f0a0c0 guibg=#302028 | |
39 | hi! IlluminatedWordText ctermfg=0 ctermbg=11 guifg=#f0a0c0 guibg=#302028 | |
40 | hi! IlluminatedWordWrite ctermfg=0 ctermbg=11 cterm=underline guifg=#f0a0c0 guibg=#302028 gui=underline | |
41 | ]]) | |
42 | end, | |
43 | }, | |
1014 | 44 | } |