From 7d1bb7381540bdb37c613b681fc8a1cd2636d776 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 9 Jul 2023 10:12:24 -0400 Subject: [PATCH] nvim: fix autopairs for typst --- src/.config/nvim/typst.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.config/nvim/typst.vim b/src/.config/nvim/typst.vim index d7c783d..22a0873 100644 --- a/src/.config/nvim/typst.vim +++ b/src/.config/nvim/typst.vim @@ -29,4 +29,4 @@ function TypstWatch() endfunc nnoremap fc :call TypstWatch() -au Filetype FILETYPE let b:AutoPairs = {"(": ")"} +au Filetype typst let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '$':'$'}