From 9770fafd9d6a3ca4055edabcfe9e56d32127d496 Mon Sep 17 00:00:00 2001 From: winston Date: Wed, 19 Jul 2023 21:43:53 +0200 Subject: [PATCH] feat(nvim): add tagalong --- home/apps/neovim/lazy-lock.json | 1 + home/apps/neovim/lua/plugins/editor.lua | 26 +++++++++++++++++-------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/home/apps/neovim/lazy-lock.json b/home/apps/neovim/lazy-lock.json index 428b534..8e6353d 100644 --- a/home/apps/neovim/lazy-lock.json +++ b/home/apps/neovim/lazy-lock.json @@ -61,6 +61,7 @@ "rainbow-delimiters.nvim": { "branch": "master", "commit": "c6c2bda90f9f2d9eb047400f9153893d425bfa3c" }, "rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" }, "schemastore.nvim": { "branch": "main", "commit": "0682f56392ddc86cf5e6b2af76a63bc48ad4ed84" }, + "tagalong.vim": { "branch": "main", "commit": "d12622b866c9eea5204a792517d11586c51715a2" }, "telescope-asynctasks.nvim": { "branch": "main", "commit": "065300fb0a8ba6a1c81991da1873c73e136dcdc0" }, "telescope-file-browser.nvim": { "branch": "master", "commit": "e03ff55962417b69c85ef41424079bb0580546ba" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "9bc8237565ded606e6c366a71c64c0af25cd7a50" }, diff --git a/home/apps/neovim/lua/plugins/editor.lua b/home/apps/neovim/lua/plugins/editor.lua index 4904ddd..1923d37 100644 --- a/home/apps/neovim/lua/plugins/editor.lua +++ b/home/apps/neovim/lua/plugins/editor.lua @@ -16,17 +16,27 @@ return { -- pretty much default nvim at this point { "kylechui/nvim-surround", opts = {} }, { "numtostr/comment.nvim", opts = {} }, + -- + { + "AndrewRadev/tagalong.vim", + config = function() + vim.g.tagalong_filetypes = { + "astro", + "ejs", + "html", + "htmldjango", + "javascriptreact", + "jsx", + "php", + "typescriptreact", + "xml", + } + end, + }, { "lukas-reineke/headlines.nvim", dependencies = "nvim-treesitter/nvim-treesitter", - opts = { - markdown = { - dash_string = "═", - quote_string = "┃", - fat_headline_upper_string = "▃", - fat_headline_lower_string = "🬂", - }, - }, + opts = {}, }, { "dnlhc/glance.nvim", opts = {} }, }