diff --git a/after/ftplugin/go.lua b/after/ftplugin/go.lua new file mode 100644 index 0000000..8591cda --- /dev/null +++ b/after/ftplugin/go.lua @@ -0,0 +1,2 @@ +vim.o.list = false +vim.o.tabstop = 4 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" diff --git a/lazyvim.json b/lazyvim.json index c25c700..e548bd3 100644 --- a/lazyvim.json +++ b/lazyvim.json @@ -16,4 +16,4 @@ "NEWS.md": "2123" }, "version": 3 -} \ No newline at end of file +} diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index 6c2366a..a7041bd 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -22,31 +22,31 @@ return { }, rust_analyzer = { mason = false, - settings = { - ["rust-analyzer"] = { - -- rustfmt = { - -- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" }, - -- }, - imports = { - granularity = { - group = "module", - }, - }, - cargo = { - buildScripts = { - enable = false, - }, - }, - files = { - excludeDirs = { - "pe-template", - }, - }, - procMacro = { - enable = true, - }, - }, - }, + -- settings = { + -- ["rust-analyzer"] = { + -- -- rustfmt = { + -- -- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" }, + -- -- }, + -- imports = { + -- granularity = { + -- group = "module", + -- }, + -- }, + -- cargo = { + -- buildScripts = { + -- enable = false, + -- }, + -- }, + -- files = { + -- excludeDirs = { + -- "pe-template", + -- }, + -- }, + -- procMacro = { + -- enable = true, + -- }, + -- }, + -- }, }, tailwindcss = { init_options = { 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, }, diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 4fc4ac9..d2b70b0 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -3,9 +3,19 @@ return { "telescope.nvim", dependencies = { "nvim-telescope/telescope-fzf-native.nvim", + "wesleimp/telescope-windowizer.nvim", build = "make", config = function() - require("telescope").load_extension("fzf") + local telescope = require("telescope") + telescope.setup({ + extentions = { + windowizer = { + find_cmd = "rg", + }, + }, + }) + telescope.load_extension("fzf") + telescope.load_extension("windowizer") end, }, },