mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-28 05:54:03 +02:00
autoindent issue solved finally
This commit is contained in:
parent
aa356858ef
commit
e6f4b20346
4 changed files with 29 additions and 9 deletions
|
@ -32,21 +32,46 @@ return {
|
|||
},
|
||||
|
||||
-- Autocomplete
|
||||
-- {
|
||||
-- "hrsh7th/nvim-compe",
|
||||
-- event = "InsertEnter",
|
||||
-- config = function()
|
||||
-- require("core.compe").setup()
|
||||
-- if lvim.builtin.compe.on_config_done then
|
||||
-- lvim.builtin.compe.on_config_done(require "compe")
|
||||
-- end
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- Completion & Snippets
|
||||
{
|
||||
"hrsh7th/nvim-compe",
|
||||
-- event = "InsertEnter",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("core.compe").setup()
|
||||
if lvim.builtin.compe.on_config_done then
|
||||
lvim.builtin.compe.on_config_done(require "compe")
|
||||
end
|
||||
end,
|
||||
wants = "vim-vsnip",
|
||||
requires = {
|
||||
{
|
||||
"hrsh7th/vim-vsnip",
|
||||
wants = "friendly-snippets",
|
||||
event = "InsertCharPre",
|
||||
},
|
||||
{
|
||||
"rafamadriz/friendly-snippets",
|
||||
event = "InsertCharPre",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
-- Autopairs
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
-- event = "InsertEnter",
|
||||
after = "nvim-compe",
|
||||
config = function()
|
||||
require "core.autopairs"
|
||||
if lvim.builtin.autopairs.on_config_done then
|
||||
|
@ -55,11 +80,6 @@ return {
|
|||
end,
|
||||
},
|
||||
|
||||
-- Snippets
|
||||
|
||||
{ "hrsh7th/vim-vsnip", event = "InsertEnter" },
|
||||
{ "rafamadriz/friendly-snippets", event = "InsertEnter" },
|
||||
|
||||
-- Treesitter
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue