tangled
alpha
login
or
join now
shailpatels.me
/
nvim
0
fork
atom
nvim dot files
0
fork
atom
overview
issues
pulls
pipelines
fix rendering + remap lsp autocomplete confirm
shailpatels.me
2 years ago
d2d2bd34
06845818
+6
-24
4 changed files
expand all
collapse all
unified
split
after
plugin
gruvbox.lua
lsp.lua
init.lua
lua
shail
init.lua
-21
after/plugin/gruvbox.lua
···
1
1
-
-- https://github.com/ellisonleao/gruvbox.nvim
2
2
-
3
3
-
require("gruvbox").setup({
4
4
-
undercurl = true,
5
5
-
underline = true,
6
6
-
bold = true,
7
7
-
italic = true,
8
8
-
strikethrough = true,
9
9
-
invert_selection = false,
10
10
-
invert_signs = false,
11
11
-
invert_tabline = false,
12
12
-
invert_intend_guides = false,
13
13
-
inverse = true, -- invert background for search, diffs, statuslines and errors
14
14
-
contrast = "hard", -- can be "hard", "soft" or empty string
15
15
-
palette_overrides = {},
16
16
-
overrides = {},
17
17
-
dim_inactive = false,
18
18
-
transparent_mode = false,
19
19
-
})
20
20
-
21
21
-
vim.cmd([[colorscheme gruvbox]])
+1
-1
after/plugin/lsp.lua
···
14
14
local cmp_mappings = lsp.defaults.cmp_mappings({
15
15
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
16
16
['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
17
17
-
['<C-y>'] = cmp.mapping.confirm({ select = true }),
17
17
+
['<CR>'] = cmp.mapping.confirm({ select = true }),
18
18
["<C-Space>"] = cmp.mapping.complete(),
19
19
})
20
20
-1
init.lua
···
1
1
require("shail")
2
2
-
print("hello")
+5
-1
lua/shail/init.lua
···
20
20
undercurl = true,
21
21
underline = true,
22
22
bold = true,
23
23
-
italic = true,
23
23
+
italic = {
24
24
+
strings = true,
25
25
+
operators = true,
26
26
+
comments = true,
27
27
+
},
24
28
strikethrough = true,
25
29
invert_selection = false,
26
30
invert_signs = false,