Fri, 05 May 2023 13:12:54 -0500
factor out bina install
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 = { |
1064 | 18 | "#C4A258", |
19 | "#6AADA0", | |
20 | "#71B9F8", | |
21 | "#A037B0", | |
22 | "#CF6A4C", | |
23 | "#D8AD4C", | |
1034
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
24 | } |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
25 | g.interestingWordsTermColors = { |
1064 | 26 | "179", |
27 | "73", | |
28 | "75", | |
29 | "133", | |
30 | "167", | |
31 | "136", | |
1034
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
32 | } |
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
33 | |
1014 | 34 | return { |
1068 | 35 | { |
36 | "editorconfig/editorconfig-vim", | |
37 | event = { "BufReadPost", "BufNewFile" }, | |
1101 | 38 | cond = function() |
39 | return vim.fn.has("nvim-0.9") == 0 | |
40 | end, | |
1068 | 41 | }, |
1022 | 42 | |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
43 | "tpope/vim-unimpaired", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
44 | "tomtom/tcomment_vim", |
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
45 | "tpope/vim-endwise", |
1029
9265f8508e4c
Copy other ft and plugin settings
Meredith Howard <mhoward@roomag.org>
parents:
1022
diff
changeset
|
46 | "godlygeek/tabular", |
1064 | 47 | { "mbbill/undotree", cmd = "UndotreeToggle" }, |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
48 | |
1014 | 49 | "tpope/vim-vinegar", |
1034
d412eecafebf
Add + configure interestingwords
Meredith Howard <mhoward@roomag.org>
parents:
1031
diff
changeset
|
50 | "lfv89/vim-interestingwords", |
1020
b1b644e9825d
Add more plain vim plugins
Meredith Howard <mhoward@roomag.org>
parents:
1014
diff
changeset
|
51 | "kshenoy/vim-signature", |
1064 | 52 | { "majutsushi/tagbar", cmd = "TagbarToggle" }, |
1031 | 53 | |
54 | { | |
55 | "RRethy/vim-illuminate", | |
1064 | 56 | event = { "BufReadPost", "BufNewFile" }, |
1031 | 57 | opts = { |
58 | delay = 250, | |
59 | large_file_cutoff = 15000, | |
60 | }, | |
61 | config = function(_, opts) | |
62 | require("illuminate").configure(opts) | |
63 | end, | |
64 | }, | |
1014 | 65 | } |