add nvim-treesitter-endwise

Mon, 27 Mar 2023 15:27:23 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 27 Mar 2023 15:27:23 -0500
changeset 1094
694fb6cd9cc2
parent 1093
3d970272f1a3
child 1095
226221dc1d6b

add nvim-treesitter-endwise

.config/nvim/lua/plugins/filetype.lua file | annotate | diff | comparison | revisions
--- a/.config/nvim/lua/plugins/filetype.lua
+++ b/.config/nvim/lua/plugins/filetype.lua
@@ -9,6 +9,9 @@ g.perl_compiler_force_warnings = 0
 return {
   {
     "nvim-treesitter/nvim-treesitter",
+    dependencies = {
+      "RRethy/nvim-treesitter-endwise",
+    },
     event = { "BufReadPost", "BufNewFile" },
     build = function()
       require("nvim-treesitter.install").update({ with_sync = true })
@@ -17,6 +20,7 @@ return {
       require("nvim-treesitter.configs").setup({
         highlight = { enable = true },
         indent = { enable = true },
+        endwise = { enable = true },
         ensure_installed = {
           "c",
           "comment",

mercurial