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 = {
mason = false,
settings = {
["rust-analyzer"] = {
-- rustfmt = {
-- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" },
-- settings = {
-- ["rust-analyzer"] = {
-- -- rustfmt = {
-- -- overrideCommand = { "leptosfmt", "--stdin", "--rustfmt" },
-- -- },
-- imports = {
-- granularity = {
-- group = "module",
-- },
-- },
-- cargo = {
-- buildScripts = {
-- enable = false,
-- },
-- },
-- files = {
-- excludeDirs = {
-- "pe-template",
-- },
-- },
-- procMacro = {
-- enable = true,
-- },
-- },
-- },
imports = {
granularity = {
group = "module",
},
},
cargo = {
buildScripts = {
enable = false,
},
},
files = {
excludeDirs = {
"pe-template",
},
},
procMacro = {
enable = true,
},
},
},
},
tailwindcss = {
init_options = {

View File

@ -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,
},

View File

@ -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,
},
},