]> git.sthu.org Git - vimconf.git/commitdiff
plugins: Add bibtex-tidy formatter
authorStefan Huber <shuber@sthu.org>
Thu, 17 Apr 2025 07:57:23 +0000 (09:57 +0200)
committerStefan Huber <shuber@sthu.org>
Thu, 17 Apr 2025 07:57:23 +0000 (09:57 +0200)
plugins-full.vim.example

index 962314a4e5c5d672212159abaaf8815051c3ee5d..8b3576572066f73fd862a5bc6d56a81f591c2072 100644 (file)
@@ -286,6 +286,13 @@ EOF
               log_level = vim.log.levels.WARN,
               -- All formatter configurations are opt-in
               filetype = {
+                bib = {
+                  function()
+                    return {
+                      exe = "bibtex-tidy"
+                    }
+                    end
+                  },
                 c = { require("formatter.filetypes.c").clangformat },
                 cpp = { require("formatter.filetypes.cpp").clangformat },
                 css = require('formatter.filetypes.css').prettier,