forked from ayamir/nvimdots
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ayamir#514 from CharlesChiuGit/feat/plugin-update
feat: add/replace plugins ( ayamir#494 )
- Loading branch information
Showing
11 changed files
with
88 additions
and
50 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
return function() | ||
require("codeium").setup({}) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
return function() | ||
require("autoclose").setup({ | ||
keys = { | ||
["("] = { escape = false, close = true, pair = "()" }, | ||
["["] = { escape = false, close = true, pair = "[]" }, | ||
["{"] = { escape = false, close = true, pair = "{}" }, | ||
|
||
[">"] = { escape = true, close = false, pair = "<>" }, | ||
[")"] = { escape = true, close = false, pair = "()" }, | ||
["]"] = { escape = true, close = false, pair = "[]" }, | ||
["}"] = { escape = true, close = false, pair = "{}" }, | ||
|
||
['"'] = { escape = true, close = true, pair = '""' }, | ||
["'"] = { escape = true, close = true, pair = "''" }, | ||
["`"] = { escape = true, close = true, pair = "``" }, | ||
}, | ||
options = { | ||
disabled_filetypes = nil, | ||
disable_when_touch = false, | ||
}, | ||
}) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
return function() | ||
require("fcitx5").setup({ | ||
msg = nil, -- string | nil: printed when startup is completed | ||
imname = { -- fcitx5.Imname | nil: imnames on each mode set as prior. See `:h map-table` for more in-depth information. | ||
norm = nil, -- string | nil: imname to set in normal mode. if nil, will restore the mode on exit. | ||
ins = nil, | ||
cmd = nil, | ||
vis = nil, | ||
sel = nil, | ||
opr = nil, | ||
term = nil, | ||
lang = nil, | ||
}, | ||
remember_prior = true, -- boolean: if true, it remembers the mode on exit and restore it when entering the mode again. | ||
-- if false, uses what was set in config. | ||
define_autocmd = true, -- boolean: if true, defines autocmd at `ModeChanged` to switch fcitx5 mode. | ||
log = "warn", -- string: log level (default: warn) | ||
}) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
return function() | ||
require("paint").setup({ | ||
---type PaintHighlight[] | ||
highlights = { | ||
{ | ||
-- filter can be a table of buffer options that should match, | ||
-- or a function called with buf as param that should return true. | ||
-- The example below will paint @something in comments with Constant | ||
filter = { filetype = "lua" }, | ||
pattern = "%s*%-%-%-%s*(@%w+)", | ||
hl = "Constant", | ||
}, | ||
{ | ||
filter = { filetype = "python" }, | ||
pattern = "%s*(%w+:)", | ||
hl = "Constant", | ||
}, | ||
}, | ||
}) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters