nvim: formatting and style
This commit is contained in:
parent
16a579b6b3
commit
bf5a280f34
2 changed files with 7 additions and 9 deletions
|
|
@ -93,11 +93,6 @@ require("nvim-treesitter.configs").setup({
|
|||
})
|
||||
|
||||
local lspkind = require("lspkind")
|
||||
lspkind.init({
|
||||
symbol_map = {
|
||||
Copilot = "",
|
||||
},
|
||||
})
|
||||
|
||||
local cmp = require("cmp")
|
||||
local luasnip = require("luasnip")
|
||||
|
|
@ -107,6 +102,9 @@ cmp.setup({
|
|||
mode = "symbol", -- show only symbol annotations
|
||||
maxwidth = 50, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters)
|
||||
ellipsis_char = "...", -- when popup menu exceed maxwidth, the truncated part would show ellipsis_char instead (must define maxwidth first)
|
||||
symbol_map = {
|
||||
Copilot = "",
|
||||
},
|
||||
}),
|
||||
},
|
||||
snippet = {
|
||||
|
|
@ -447,7 +445,7 @@ require("nvim-lastplace").setup({
|
|||
lastplace_open_folds = true,
|
||||
})
|
||||
|
||||
require("nvim-autopairs").setup({})
|
||||
require("nvim-autopairs").setup()
|
||||
|
||||
-- disable netrw at the very start of your init.lua (strongly advised)
|
||||
vim.g.loaded_netrw = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue