From f0091e50f19d6af816df4919a327c50a3742dffe Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Tue, 27 Feb 2024 05:19:19 -0800 Subject: [PATCH 1/2] fix commentstring nix --- after/ftplugin/nix.lua | 1 + 1 file changed, 1 insertion(+) create mode 100644 after/ftplugin/nix.lua diff --git a/after/ftplugin/nix.lua b/after/ftplugin/nix.lua new file mode 100644 index 0000000..7e1766f --- /dev/null +++ b/after/ftplugin/nix.lua @@ -0,0 +1 @@ +vim.opt.commentstring = "#%s" From ab5c6121556e60b74b0a2d77188c6a19866c2f29 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Tue, 27 Feb 2024 05:20:43 -0800 Subject: [PATCH 2/2] ensure lua --- lazyvim.json | 3 ++- lua/plugins/nix-workarounds.lua | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lazyvim.json b/lazyvim.json index 37c9be6..cabd063 100644 --- a/lazyvim.json +++ b/lazyvim.json @@ -16,4 +16,5 @@ "NEWS.md": "2123" }, "version": 2 -} \ No newline at end of file +} + diff --git a/lua/plugins/nix-workarounds.lua b/lua/plugins/nix-workarounds.lua index 7b319a8..4eeda4a 100644 --- a/lua/plugins/nix-workarounds.lua +++ b/lua/plugins/nix-workarounds.lua @@ -15,10 +15,9 @@ return { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) -- add tsx and treesitter - -- vim.list_extend(opts.ensure_installed, { - -- "tsx", - -- "typescript", - -- }) + vim.list_extend(opts.ensure_installed, { + "lua", + }) opts.ensure_installed = {} end, },