update autotag config

This commit is contained in:
andrzej 2024-09-12 20:24:34 +02:00
parent 709b5a03d3
commit 689b2185fa
6 changed files with 25 additions and 4 deletions

View File

@ -50,6 +50,7 @@
"telescope-zoxide": { "branch": "main", "commit": "54bfe630bad08dc9891ec78c7cf8db38dd725c97" }, "telescope-zoxide": { "branch": "main", "commit": "54bfe630bad08dc9891ec78c7cf8db38dd725c97" },
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" },
"ts-error-translator.nvim": { "branch": "main", "commit": "11ae55b28bde02663b5f983f59b0e3fd9c4e845b" },
"twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" }, "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" },
"vim-matchup": { "branch": "master", "commit": "f89858a5ab87feb752c860d396022ae7b13070c2" }, "vim-matchup": { "branch": "master", "commit": "f89858a5ab87feb752c860d396022ae7b13070c2" },
"vim-pencil": { "branch": "master", "commit": "6d70438a8886eaf933c38a7a43a61adb0a7815ed" }, "vim-pencil": { "branch": "master", "commit": "6d70438a8886eaf933c38a7a43a61adb0a7815ed" },

View File

@ -1,3 +1,4 @@
vim.wo.relativenumber = true
vim.opt.termguicolors = true vim.opt.termguicolors = true
vim.opt.undofile = true vim.opt.undofile = true
vim.opt.number = true vim.opt.number = true

View File

@ -0,0 +1,21 @@
return {
"windwp/nvim-ts-autotag",
config = function()
require("nvim-ts-autotag").setup({
opts = {
-- Defaults
enable_close = true, -- Auto close tags
enable_rename = true, -- Auto rename pairs of tags
enable_close_on_slash = false, -- Auto close on trailing </
},
-- Also override individual filetype configs, these take priority.
-- Empty by default, useful if one of the "opts" global settings
-- doesn't work well in a specific filetype
-- per_filetype = {
-- ["html"] = {
-- enable_close = false,
-- },
-- },
})
end,
}

View File

@ -18,9 +18,6 @@ return { -- Highlight, edit, and navigate code
additional_vim_regex_highlighting = { "ruby" }, additional_vim_regex_highlighting = { "ruby" },
}, },
indent = { enable = true, disable = { "ruby" } }, indent = { enable = true, disable = { "ruby" } },
autotag = {
enable = true,
},
}, },
config = function(_, opts) config = function(_, opts)
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`

View File

@ -1 +1 @@
LAST_EPOCH=19961 LAST_EPOCH=19974

View File

@ -127,3 +127,4 @@ fi
#LUAROCKS #LUAROCKS
eval "$(luarocks path --bin)" eval "$(luarocks path --bin)"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion