nvim: configure not even simple stuff in plugin file
This commit is contained in:
parent
302235731a
commit
15f9aacebd
|
@ -61,6 +61,7 @@ vim.api.nvim_create_autocmd({ 'FileType' }, {
|
|||
command = [[set nolist]]
|
||||
})
|
||||
|
||||
require("nvim-autopairs").setup({})
|
||||
|
||||
require('luasnip.loaders.from_lua').load({
|
||||
paths = vim.fn.stdpath('config') .. '/snippets'
|
||||
|
|
|
@ -67,12 +67,7 @@ require('packer').startup(function(use)
|
|||
-- tools
|
||||
local nerdfont_installed = require('my.functions').nerdfont_installed()
|
||||
|
||||
use {
|
||||
'https://github.com/folke/which-key.nvim',
|
||||
config = function()
|
||||
require('which-key').setup({})
|
||||
end
|
||||
}
|
||||
use { 'https://github.com/folke/which-key.nvim' }
|
||||
use {
|
||||
'https://github.com/nvim-telescope/telescope.nvim',
|
||||
tag = '*',
|
||||
|
@ -115,10 +110,7 @@ require('packer').startup(function(use)
|
|||
},
|
||||
}
|
||||
use { 'https://github.com/gentoo/gentoo-syntax' }
|
||||
use {
|
||||
'https://github.com/windwp/nvim-autopairs',
|
||||
config = function() require("nvim-autopairs").setup {} end
|
||||
}
|
||||
use { 'https://github.com/windwp/nvim-autopairs' }
|
||||
use { 'https://github.com/L3MON4D3/LuaSnip' }
|
||||
use {
|
||||
'https://github.com/tpope/vim-fugitive',
|
||||
|
@ -134,9 +126,7 @@ require('packer').startup(function(use)
|
|||
use { -- embed nvim in browsers
|
||||
'https://github.com/glacambre/firenvim',
|
||||
tag = '*',
|
||||
run = function()
|
||||
vim.fn['firenvim#install'](0)
|
||||
end
|
||||
run = [[call firenvim#install(0)]]
|
||||
}
|
||||
|
||||
-- ensure plugins are installed and compiled
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
require('my/plugins')
|
||||
|
||||
require('which-key').setup({})
|
||||
|
||||
local map = require('my.functions').map
|
||||
local telescope = require('telescope')
|
||||
local t_actions = require('telescope.actions')
|
||||
|
|
Loading…
Reference in New Issue
Block a user