Skip to content

Commit

Permalink
feat(rust): introduce autoclose for operator< (#944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jint-lzxy authored Aug 11, 2023
1 parent d186f25 commit b314ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/modules/configs/editor/autoclose.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ return function()
["["] = { escape = false, close = true, pair = "[]" },
["{"] = { escape = false, close = true, pair = "{}" },

["<"] = { escape = true, close = true, pair = "<>", enabled_filetypes = { "rust" } },
[">"] = { escape = true, close = false, pair = "<>" },
[")"] = { escape = true, close = false, pair = "()" },
["]"] = { escape = true, close = false, pair = "[]" },
Expand Down

0 comments on commit b314ead

Please sign in to comment.