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 -- pyright will be automatically installed with mason and loaded with lspconfig
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 = {
-- 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 = { tailwindcss = {
init_options = { init_options = {

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