mirror of
https://github.com/cap153/nvim.git
synced 2025-12-26 19:25:01 +08:00
删除无用的配置和文件
This commit is contained in:
parent
38bedd3beb
commit
9db1b78216
2 changed files with 0 additions and 31 deletions
|
|
@ -1,23 +0,0 @@
|
|||
-- ===
|
||||
-- === 关闭缓冲区的标签
|
||||
-- ===
|
||||
|
||||
local map = require("core.keymap")
|
||||
-- 关闭当前缓冲区标签
|
||||
map:cmd('tq', 'BDelete this')
|
||||
-- 关闭除当前标签外的其他标签
|
||||
map:cmd('to', 'BDelete other')
|
||||
|
||||
return {
|
||||
'kazhala/close-buffers.nvim',
|
||||
config = function()
|
||||
require('close_buffers').setup({
|
||||
filetype_ignore = {}, -- Filetype to ignore when running deletions
|
||||
file_glob_ignore = {}, -- File name glob pattern to ignore when running deletions (e.g. '*.md')
|
||||
file_regex_ignore = {}, -- File name regex pattern to ignore when running deletions (e.g. '.*[.]md')
|
||||
preserve_window_layout = { 'this', 'nameless' }, -- Types of deletion that should preserve the window layout
|
||||
next_buffer_cmd = nil, -- Custom function to retrieve the next buffer when preserving window layout
|
||||
})
|
||||
end
|
||||
}
|
||||
|
||||
|
|
@ -1,14 +1,6 @@
|
|||
return {
|
||||
'windwp/nvim-autopairs',
|
||||
config = function()
|
||||
-- 配合cmp,我也不知道有啥效果
|
||||
-- local cmp_autopairs = require('nvim-autopairs.completion.cmp')
|
||||
-- local cmp = require('cmp')
|
||||
-- cmp.event:on(
|
||||
-- 'confirm_done',
|
||||
-- cmp_autopairs.on_confirm_done()
|
||||
-- )
|
||||
|
||||
require('nvim-autopairs').setup({
|
||||
-- 在写markdown时禁用括号补全
|
||||
disable_filetype = {"markdown"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue