fix: use later for lsp and formatting
This commit is contained in:
+1
-1
@@ -80,7 +80,7 @@ Config.later(function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Completion ==================================================================
|
-- Completion ==================================================================
|
||||||
Config.now_if_args(function()
|
Config.later(function()
|
||||||
-- Autocompletion and signature help.
|
-- Autocompletion and signature help.
|
||||||
require('mini.completion').setup({
|
require('mini.completion').setup({
|
||||||
lsp_completion = {
|
lsp_completion = {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ Config.now_if_args(function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- LSP =========================================================================
|
-- LSP =========================================================================
|
||||||
Config.now_if_args(function()
|
Config.later(function()
|
||||||
vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
|
vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
|
||||||
|
|
||||||
vim.lsp.enable({
|
vim.lsp.enable({
|
||||||
@@ -56,7 +56,7 @@ Config.now_if_args(function()
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Formatting ==================================================================
|
-- Formatting ==================================================================
|
||||||
Config.now_if_args(function()
|
Config.later(function()
|
||||||
vim.pack.add({ "https://github.com/stevearc/conform.nvim" })
|
vim.pack.add({ "https://github.com/stevearc/conform.nvim" })
|
||||||
|
|
||||||
require("conform").setup({
|
require("conform").setup({
|
||||||
|
|||||||
Reference in New Issue
Block a user