nvim dot files

fix rendering + remap lsp autocomplete confirm

+6 -24
-21
after/plugin/gruvbox.lua
··· 1 - -- https://github.com/ellisonleao/gruvbox.nvim 2 - 3 - require("gruvbox").setup({ 4 - undercurl = true, 5 - underline = true, 6 - bold = true, 7 - italic = true, 8 - strikethrough = true, 9 - invert_selection = false, 10 - invert_signs = false, 11 - invert_tabline = false, 12 - invert_intend_guides = false, 13 - inverse = true, -- invert background for search, diffs, statuslines and errors 14 - contrast = "hard", -- can be "hard", "soft" or empty string 15 - palette_overrides = {}, 16 - overrides = {}, 17 - dim_inactive = false, 18 - transparent_mode = false, 19 - }) 20 - 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 - ['<C-y>'] = cmp.mapping.confirm({ select = true }), 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 - print("hello")
+5 -1
lua/shail/init.lua
··· 20 20 undercurl = true, 21 21 underline = true, 22 22 bold = true, 23 - italic = true, 23 + italic = { 24 + strings = true, 25 + operators = true, 26 + comments = true, 27 + }, 24 28 strikethrough = true, 25 29 invert_selection = false, 26 30 invert_signs = false,