mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
Compare commits
2 commits
b1059321a4
...
8137ac9b28
| Author | SHA1 | Date | |
|---|---|---|---|
| 8137ac9b28 | |||
| 8fe45de542 |
2 changed files with 6 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ local cmp = require("cmp")
|
|||
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
|
||||
|
||||
local langs = {
|
||||
haskell_like = { "haskell", "nix" },
|
||||
haskell_like = { "haskell", "nix", "ruler" },
|
||||
ml_like = { "ocaml", "why3", "skel", "isabelle" },
|
||||
html_like = { "html", "htmldjango" },
|
||||
latex_like = { "typst", "latex" },
|
||||
|
|
@ -81,10 +81,10 @@ npairs.add_rules {
|
|||
}
|
||||
pair_with_insertion("$", " ", "$", langs.latex_like)
|
||||
|
||||
pair_with_insertion("{", "-", "}", "haskell")
|
||||
pair_with_insertion("{-", " ", "-}", "haskell") -- block comment
|
||||
pair_with_insertion("{-", "#", "-}", "haskell") -- language flags
|
||||
pair_with_insertion("{-#", " ", "#-}", "haskell")
|
||||
pair_with_insertion("{", "-", "}", langs.haskell_like)
|
||||
pair_with_insertion("{-", " ", "-}", langs.haskell_like) -- block comment
|
||||
pair_with_insertion("{-", "#", "-}", langs.haskell_like) -- language flags
|
||||
pair_with_insertion("{-#", " ", "#-}", langs.haskell_like)
|
||||
pair_with_insertion("(", " ", ")", langs.haskell_like)
|
||||
|
||||
npairs.add_rules {
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@
|
|||
pkgs.niv
|
||||
pkgs.npins
|
||||
pkgs.nix-tree
|
||||
pkgs.nh
|
||||
|
||||
# productivity / media
|
||||
pkgs.evolution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue