mac updates

main
Zynh0722 2024-02-27 04:46:34 -08:00
parent 67e6f0004f
commit 5757ca54fa
3 changed files with 38 additions and 26 deletions

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

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

View File

@ -9,31 +9,31 @@ return {
-- pyright will be automatically installed with mason and loaded with lspconfig
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 = {

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