From 73ae089825688f5b3876bc53405a705da48c7f5e Mon Sep 17 00:00:00 2001 From: Yaser Alraddadi Date: Fri, 5 Jul 2024 18:21:07 +0300 Subject: [PATCH] update --- init.lua | 2 ++ lua/custom/plugins/html.lua | 20 ++++++++++++++++++++ lua/custom/plugins/neogit.lua | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 lua/custom/plugins/html.lua diff --git a/init.lua b/init.lua index 30876888..2eb66e8c 100644 --- a/init.lua +++ b/init.lua @@ -668,6 +668,7 @@ require('lazy').setup({ }, }, + -- python -> LSP: basedpyright, Formatter & linter -- https://github.com/astral-sh/ruff/blob/main/crates/ruff_server/docs/setup/NEOVIM.md ruff = { -- Disable hover in favor of Pyright @@ -729,6 +730,7 @@ require('lazy').setup({ html = {}, jsonls = {}, tailwindcss = {}, + -- js -> LSP: tsserver, Formatter & linter: biome -- npm install -g @biomejs/biome biome = {}, ltex = { diff --git a/lua/custom/plugins/html.lua b/lua/custom/plugins/html.lua new file mode 100644 index 00000000..e57a357c --- /dev/null +++ b/lua/custom/plugins/html.lua @@ -0,0 +1,20 @@ +return { + { + 'windwp/nvim-ts-autotag', + -- ft = { + -- 'html', + -- 'javascript', + -- 'typescript', + -- 'svelte', + -- }, + config = function() + require('nvim-ts-autotag').setup { + -- opts = { + -- enable_close = true, + -- enable_rename = true, + -- enable_close_on_slash = false, + -- }, + } + end, + }, +} diff --git a/lua/custom/plugins/neogit.lua b/lua/custom/plugins/neogit.lua index 052f8d28..f56c025c 100644 --- a/lua/custom/plugins/neogit.lua +++ b/lua/custom/plugins/neogit.lua @@ -9,7 +9,7 @@ return { -- brew install font-hack-nerd-font -- 'nvim-tree/nvim-web-devicons', -- }, - config = { + opts = { use_icons = false, }, },