Zynh0722 2024-03-10 20:39:44 -07:00
commit 1ac9cf1480
6 changed files with 43 additions and 31 deletions

2
after/ftplugin/go.lua Normal file
View File

@ -0,0 +1,2 @@
vim.o.list = false
vim.o.tabstop = 4

1
after/ftplugin/nix.lua Normal file
View File

@ -0,0 +1 @@
vim.opt.commentstring = "#%s"

View File

@ -22,31 +22,31 @@ return {
}, },
rust_analyzer = { rust_analyzer = {
mason = false, mason = false,
settings = { -- settings = {
["rust-analyzer"] = { -- ["rust-analyzer"] = {
-- rustfmt = { -- -- rustfmt = {
-- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" }, -- -- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" },
-- }, -- -- },
imports = { -- imports = {
granularity = { -- granularity = {
group = "module", -- group = "module",
}, -- },
}, -- },
cargo = { -- cargo = {
buildScripts = { -- buildScripts = {
enable = false, -- enable = false,
}, -- },
}, -- },
files = { -- files = {
excludeDirs = { -- excludeDirs = {
"pe-template", -- "pe-template",
}, -- },
}, -- },
procMacro = { -- procMacro = {
enable = true, -- enable = true,
}, -- },
}, -- },
}, -- },
}, },
tailwindcss = { tailwindcss = {
init_options = { init_options = {

View File

@ -15,10 +15,9 @@ return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
opts = function(_, opts) opts = function(_, opts)
-- add tsx and treesitter -- add tsx and treesitter
-- vim.list_extend(opts.ensure_installed, { vim.list_extend(opts.ensure_installed, {
-- "tsx", "lua",
-- "typescript", })
-- })
opts.ensure_installed = {} opts.ensure_installed = {}
end, end,
}, },

View File

@ -3,9 +3,19 @@ return {
"telescope.nvim", "telescope.nvim",
dependencies = { dependencies = {
"nvim-telescope/telescope-fzf-native.nvim", "nvim-telescope/telescope-fzf-native.nvim",
"wesleimp/telescope-windowizer.nvim",
build = "make", build = "make",
config = function() 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, end,
}, },
}, },