mac updates

This commit is contained in:
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 = { -- 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

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