Wed, 22 Feb 2023 12:42:05 -0600
spin out completion.lua
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 | ||
1034
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
15 | -- >> interestingwords |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
16 | -- These are jellybeans colors and some complements |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
17 | g.interestingWordsGUIColors = { |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
18 | '#C4A258','#6AADA0', '#71B9F8', '#A037B0', '#CF6A4C', '#D8AD4C', |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
19 | } |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
20 | g.interestingWordsTermColors = { |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
21 | '179', '73', '75', '133', '167', '136', |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
22 | } |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
23 | |
1014 | 24 | return { |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
25 | "editorconfig/editorconfig-vim", |
1022 | 26 | |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
27 | "tpope/vim-unimpaired", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
28 | "tomtom/tcomment_vim", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
29 | "tpope/vim-endwise", |
1029
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
1022
diff
changeset
|
30 | "godlygeek/tabular", |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
31 | {"mbbill/undotree", cmd = "UndotreeToggle"}, |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
32 | |
1014 | 33 | "tpope/vim-vinegar", |
1034
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
34 | "lfv89/vim-interestingwords", |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
35 | "kshenoy/vim-signature", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
36 | {"majutsushi/tagbar", cmd = "TagbarToggle"}, |
1031 | 37 | |
38 | { | |
39 | "RRethy/vim-illuminate", | |
40 | event = {"BufReadPost", "BufNewFile"}, | |
41 | opts = { | |
42 | delay = 250, | |
43 | large_file_cutoff = 15000, | |
44 | }, | |
45 | config = function(_, opts) | |
46 | require("illuminate").configure(opts) | |
47 | vim.cmd([[ | |
48 | hi! IlluminatedWordRead ctermfg=0 ctermbg=11 guifg=#f0a0c0 guibg=#302028 | |
49 | hi! IlluminatedWordText ctermfg=0 ctermbg=11 guifg=#f0a0c0 guibg=#302028 | |
50 | hi! IlluminatedWordWrite ctermfg=0 ctermbg=11 cterm=underline guifg=#f0a0c0 guibg=#302028 gui=underline | |
51 | ]]) | |
52 | end, | |
53 | }, | |
1014 | 54 | } |