mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(vim): add nvim-autopairs plugin and configuration
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
" *** *** *** Plugin Configuration *** *** ***
|
" *** *** *** Plugin Configuration *** *** ***
|
||||||
" ********************************************
|
" ********************************************
|
||||||
|
source ~/.config/nvim/plugins/autopairs.lua
|
||||||
source ~/.config/nvim/plugins/base16.vim
|
source ~/.config/nvim/plugins/base16.vim
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ Plug 'tpope/vim-abolish'
|
|||||||
|
|
||||||
" Misc
|
" Misc
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
|
Plug 'windwp/nvim-autopairs'
|
||||||
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
doautocmd User PlugLoaded
|
doautocmd User PlugLoaded
|
||||||
|
|||||||
9
nvim/plugins/autopairs.lua
Normal file
9
nvim/plugins/autopairs.lua
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
-- nvim-autopairs
|
||||||
|
-- https://github.com/windwp/nvim-autopairs
|
||||||
|
|
||||||
|
local status, autopairs = pcall(require, 'nvim-autopairs')
|
||||||
|
if (not status) then return end
|
||||||
|
|
||||||
|
autopairs.setup({
|
||||||
|
disable_filetype = { 'TelescopePrompt', 'vim' },
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user