Compare commits

..

No commits in common. "8137ac9b282094631e032646a9134cffa03721d8" and "b1059321a49dc0111846c4c2e163c805568af867" have entirely different histories.

2 changed files with 5 additions and 6 deletions

View file

@ -5,7 +5,7 @@ local cmp = require("cmp")
local cmp_autopairs = require("nvim-autopairs.completion.cmp") local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local langs = { local langs = {
haskell_like = { "haskell", "nix", "ruler" }, haskell_like = { "haskell", "nix" },
ml_like = { "ocaml", "why3", "skel", "isabelle" }, ml_like = { "ocaml", "why3", "skel", "isabelle" },
html_like = { "html", "htmldjango" }, html_like = { "html", "htmldjango" },
latex_like = { "typst", "latex" }, latex_like = { "typst", "latex" },
@ -81,10 +81,10 @@ npairs.add_rules {
} }
pair_with_insertion("$", " ", "$", langs.latex_like) pair_with_insertion("$", " ", "$", langs.latex_like)
pair_with_insertion("{", "-", "}", langs.haskell_like) pair_with_insertion("{", "-", "}", "haskell")
pair_with_insertion("{-", " ", "-}", langs.haskell_like) -- block comment pair_with_insertion("{-", " ", "-}", "haskell") -- block comment
pair_with_insertion("{-", "#", "-}", langs.haskell_like) -- language flags pair_with_insertion("{-", "#", "-}", "haskell") -- language flags
pair_with_insertion("{-#", " ", "#-}", langs.haskell_like) pair_with_insertion("{-#", " ", "#-}", "haskell")
pair_with_insertion("(", " ", ")", langs.haskell_like) pair_with_insertion("(", " ", ")", langs.haskell_like)
npairs.add_rules { npairs.add_rules {

View file

@ -75,7 +75,6 @@
pkgs.niv pkgs.niv
pkgs.npins pkgs.npins
pkgs.nix-tree pkgs.nix-tree
pkgs.nh
# productivity / media # productivity / media
pkgs.evolution pkgs.evolution