14012024
This commit is contained in:
parent
4daab6cb73
commit
03a7616e8c
3 changed files with 18 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" },
|
"nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
|
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
|
||||||
|
"tagbar": { "branch": "master", "commit": "fcd31ec145bbc628b90371be381717a1498b7c12" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
|
"telescope.nvim": { "branch": "master", "commit": "54930e1abfc94409e1bb9266e752ef8379008592" },
|
||||||
"tokyonight.nvim": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" },
|
"tokyonight.nvim": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" },
|
||||||
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
|
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
|
||||||
|
|
|
@ -1,5 +1,17 @@
|
||||||
|
local config = function()
|
||||||
|
local Rule = require("nvim-autopairs.rule")
|
||||||
|
local conds = require("nvim-autopairs.conds")
|
||||||
|
local npairs = require("nvim-autopairs")
|
||||||
|
|
||||||
|
require("nvim-autopairs").setup({})
|
||||||
|
|
||||||
|
npairs.add_rule(Rule('"""', '"""', "python"):with_pair(function()
|
||||||
|
return false
|
||||||
|
end))
|
||||||
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
event = "InsertEnter",
|
event = "InsertEnter",
|
||||||
opts = {}, -- this is equalent to setup({}) function
|
config = config, -- this is equalent to setup({}) function
|
||||||
}
|
}
|
||||||
|
|
4
linux/.config/nvim/lua/plugins/tagbar.lua
Normal file
4
linux/.config/nvim/lua/plugins/tagbar.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
return {
|
||||||
|
"preservim/tagbar",
|
||||||
|
lazy = false,
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue