commit
This commit is contained in:
@ -4,6 +4,7 @@ return {
|
||||
event = "User FilePost",
|
||||
opts = function()
|
||||
return {
|
||||
sign_priority = 100,
|
||||
signs = {
|
||||
delete = { text = "" },
|
||||
changedelete = { text = "" },
|
||||
|
@ -53,8 +53,12 @@ return {
|
||||
|
||||
cmp.setup({
|
||||
window = {
|
||||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
completion = cmp.config.window.bordered({
|
||||
winhighlight = "Normal:Normal,FloatBorder:BorderBG,CursorLine:PmenuSel,Search:None",
|
||||
}),
|
||||
documentation = cmp.config.window.bordered({
|
||||
winhighlight = "Normal:Normal,FloatBorder:BorderBG,CursorLine:PmenuSel,Search:None",
|
||||
}),
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
|
15
lua/plugins/treesitter.lua
Normal file
15
lua/plugins/treesitter.lua
Normal file
@ -0,0 +1,15 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
config = function()
|
||||
require("nvim-treesitter.configs").setup({
|
||||
ensure_installed = { "go", "lua", "luadoc", "printf", "vim", "vimdoc" },
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
use_languagetree = true,
|
||||
},
|
||||
|
||||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
}
|
Reference in New Issue
Block a user