Compare commits

..

1 commit

Author SHA1 Message Date
0e024b9b8b prettier 2024-02-12 15:49:57 +01:00
7 changed files with 13 additions and 59 deletions

View file

@ -7,7 +7,6 @@ return {
spell = false, -- sets vim.opt.spell
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
wrap = false, -- sets vim.opt.wrap
shell = "/usr/bin/fish"
},
g = {
mapleader = " ", -- sets vim.g.mapleader

View file

@ -1,5 +0,0 @@
return {
--- 'Exafunction/codeium.vim',
--- event = 'BufEnter'
}

View file

@ -1,5 +1,5 @@
return {
{
"m4xshen/hardtime.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
opts = {}
}
},

View file

@ -1,19 +0,0 @@
-- use mason-lspconfig to configure LSP installations
return {
"williamboman/mason-lspconfig.nvim",
opts = {
automatic_installation = true,
ensure_installed = {
"astro",
"svelte",
"tailwindcss",
"rust_analyzer",
"jsonls",
"tsserver",
"html",
"taplo",
-- "mdx_analyzer",
--"lua_ls"
},
},
}

10
plugins/rust-tools.lua Normal file
View file

@ -0,0 +1,10 @@
return {
"simrat39/rust-tools.nvim",
opts = {
tools = {
inlay_hints = {
auto = false,
},
},
},
}

View file

@ -1,26 +0,0 @@
return {
"mrcjkb/rustaceanvim",
event = "BufReadPost",
version = "^3", -- Recommended
ft = { "rust" },
config = function()
vim.g.rustaceanvim = {
-- Plugin configuration
-- tools = {},
-- LSP configuration
server = {
on_attach = function(client, bufnr)
-- you can also put keymaps in here
vim.lsp.inlay_hint.enable(bufnr, true)
end,
-- settings = {
-- -- rust-analyzer language server configuration
-- ["rust-analyzer"] = {},
-- },
-- },
-- -- DAP configuration
-- dap = {},
},
}
end,
}

View file

@ -3,12 +3,7 @@ return {
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
"astro",
"yaml",
"svelte",
"dockerfile",
"json5",
"markdown"
-- "lua"
})
end,
}