coq now works properly.
This commit is contained in:
parent
ab1619a9d1
commit
44eda22d9b
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.sh
|
||||||
|
./plugin/
|
@ -44,7 +44,7 @@ return require('packer').startup(function(use)
|
|||||||
after = "nvim-treesitter",
|
after = "nvim-treesitter",
|
||||||
config = function() require('spellsitter').setup() end
|
config = function() require('spellsitter').setup() end
|
||||||
}
|
}
|
||||||
use {'neovim/nvim-lspconfig', event = 'VimEnter'}
|
use {'neovim/nvim-lspconfig', after = "coq_nvim"}
|
||||||
use {
|
use {
|
||||||
'kabouzeid/nvim-lspinstall',
|
'kabouzeid/nvim-lspinstall',
|
||||||
config = function() require "plugins.lspinstall" end,
|
config = function() require "plugins.lspinstall" end,
|
||||||
@ -53,7 +53,7 @@ return require('packer').startup(function(use)
|
|||||||
use {
|
use {
|
||||||
'ms-jpq/coq_nvim',
|
'ms-jpq/coq_nvim',
|
||||||
branch = 'coq',
|
branch = 'coq',
|
||||||
event = 'InsertEnter',
|
event = 'BufEnter',
|
||||||
config = function() require "plugins.coq" end
|
config = function() require "plugins.coq" end
|
||||||
}
|
}
|
||||||
use {'ms-jpq/coq.artifacts', after = 'coq_nvim', branch = 'artifacts'}
|
use {'ms-jpq/coq.artifacts', after = 'coq_nvim', branch = 'artifacts'}
|
||||||
@ -142,10 +142,6 @@ return require('packer').startup(function(use)
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- integrations
|
-- integrations
|
||||||
use {
|
|
||||||
'glacambre/firenvim',
|
|
||||||
run = function() vim.fn['firenvim#install'](0) end
|
|
||||||
}
|
|
||||||
use {'michaelb/sniprun', run = 'bash ./install.sh', cmd = "SnipRun"}
|
use {'michaelb/sniprun', run = 'bash ./install.sh', cmd = "SnipRun"}
|
||||||
use {"tpope/vim-fugitive", cmd = "G"}
|
use {"tpope/vim-fugitive", cmd = "G"}
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ _G.packer_plugins = {
|
|||||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/coq.artifacts"
|
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/coq.artifacts"
|
||||||
},
|
},
|
||||||
coq_nvim = {
|
coq_nvim = {
|
||||||
after = { "nvim-autopairs", "coq.artifacts" },
|
after = { "nvim-autopairs", "nvim-lspconfig", "coq.artifacts" },
|
||||||
config = { "\27LJ\1\2+\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\16plugins.coq\frequire\0" },
|
config = { "\27LJ\1\2+\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\16plugins.coq\frequire\0" },
|
||||||
loaded = false,
|
loaded = false,
|
||||||
needs_bufread = true,
|
needs_bufread = true,
|
||||||
@ -93,10 +93,6 @@ _G.packer_plugins = {
|
|||||||
needs_bufread = false,
|
needs_bufread = false,
|
||||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/emmet-vim"
|
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/emmet-vim"
|
||||||
},
|
},
|
||||||
firenvim = {
|
|
||||||
loaded = true,
|
|
||||||
path = "/home/juan/.local/share/nvim/site/pack/packer/start/firenvim"
|
|
||||||
},
|
|
||||||
["gitsigns.nvim"] = {
|
["gitsigns.nvim"] = {
|
||||||
config = { "\27LJ\1\0026\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\rgitsigns\frequire\0" },
|
config = { "\27LJ\1\0026\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\rgitsigns\frequire\0" },
|
||||||
loaded = true,
|
loaded = true,
|
||||||
@ -164,6 +160,9 @@ _G.packer_plugins = {
|
|||||||
},
|
},
|
||||||
["nvim-lspconfig"] = {
|
["nvim-lspconfig"] = {
|
||||||
after = { "nvim-lspinstall" },
|
after = { "nvim-lspinstall" },
|
||||||
|
load_after = {
|
||||||
|
coq_nvim = true
|
||||||
|
},
|
||||||
loaded = false,
|
loaded = false,
|
||||||
needs_bufread = false,
|
needs_bufread = false,
|
||||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig"
|
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig"
|
||||||
@ -184,7 +183,7 @@ _G.packer_plugins = {
|
|||||||
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua"
|
path = "/home/juan/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua"
|
||||||
},
|
},
|
||||||
["nvim-treesitter"] = {
|
["nvim-treesitter"] = {
|
||||||
after = { "indent-blankline.nvim", "nvim-ts-rainbow", "vim-matchup", "spellsitter.nvim" },
|
after = { "indent-blankline.nvim", "vim-matchup", "nvim-ts-rainbow", "spellsitter.nvim" },
|
||||||
config = { "\27LJ\1\0022\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\23plugins.treesitter\frequire\0" },
|
config = { "\27LJ\1\0022\0\0\2\0\2\0\0044\0\0\0%\1\1\0>\0\2\1G\0\1\0\23plugins.treesitter\frequire\0" },
|
||||||
loaded = false,
|
loaded = false,
|
||||||
needs_bufread = true,
|
needs_bufread = true,
|
||||||
@ -310,10 +309,10 @@ vim.cmd [[au!]]
|
|||||||
-- Event lazy-loads
|
-- Event lazy-loads
|
||||||
time([[Defining lazy-load event autocommands]], true)
|
time([[Defining lazy-load event autocommands]], true)
|
||||||
vim.cmd [[au BufRead * ++once lua require("packer.load")({'vim-sandwich', 'nvim-colorizer.lua', 'range-highlight.nvim', 'hop'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufRead * ++once lua require("packer.load")({'vim-sandwich', 'nvim-colorizer.lua', 'range-highlight.nvim', 'hop'}, { event = "BufRead *" }, _G.packer_plugins)]]
|
||||||
vim.cmd [[au FileType html,css ++once lua require("packer.load")({'emmet-vim'}, { event = "FileType html,css" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'nvim-treesitter', 'packer.nvim', 'nvim-lspconfig', 'nvim-base16'}, { event = "VimEnter *" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'coq_nvim'}, { event = "InsertEnter *" }, _G.packer_plugins)]]
|
|
||||||
vim.cmd [[au BufAdd * ++once lua require("packer.load")({'shade.nvim'}, { event = "BufAdd *" }, _G.packer_plugins)]]
|
vim.cmd [[au BufAdd * ++once lua require("packer.load")({'shade.nvim'}, { event = "BufAdd *" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au VimEnter * ++once lua require("packer.load")({'nvim-treesitter', 'packer.nvim', 'nvim-base16'}, { event = "VimEnter *" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au FileType html,css ++once lua require("packer.load")({'emmet-vim'}, { event = "FileType html,css" }, _G.packer_plugins)]]
|
||||||
|
vim.cmd [[au BufEnter * ++once lua require("packer.load")({'coq_nvim'}, { event = "BufEnter *" }, _G.packer_plugins)]]
|
||||||
time([[Defining lazy-load event autocommands]], false)
|
time([[Defining lazy-load event autocommands]], false)
|
||||||
vim.cmd("augroup END")
|
vim.cmd("augroup END")
|
||||||
if should_profile then save_profiles() end
|
if should_profile then save_profiles() end
|
||||||
|
Loading…
Reference in New Issue
Block a user