Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
0e024b9b8b |
7 changed files with 13 additions and 59 deletions
|
@ -7,7 +7,6 @@ return {
|
||||||
spell = false, -- sets vim.opt.spell
|
spell = false, -- sets vim.opt.spell
|
||||||
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
signcolumn = "auto", -- sets vim.opt.signcolumn to auto
|
||||||
wrap = false, -- sets vim.opt.wrap
|
wrap = false, -- sets vim.opt.wrap
|
||||||
shell = "/usr/bin/fish"
|
|
||||||
},
|
},
|
||||||
g = {
|
g = {
|
||||||
mapleader = " ", -- sets vim.g.mapleader
|
mapleader = " ", -- sets vim.g.mapleader
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
return {
|
|
||||||
--- 'Exafunction/codeium.vim',
|
|
||||||
--- event = 'BufEnter'
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
return {
|
{
|
||||||
"m4xshen/hardtime.nvim",
|
"m4xshen/hardtime.nvim",
|
||||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||||
opts = {}
|
opts = {}
|
||||||
}
|
},
|
||||||
|
|
|
@ -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
10
plugins/rust-tools.lua
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
return {
|
||||||
|
"simrat39/rust-tools.nvim",
|
||||||
|
opts = {
|
||||||
|
tools = {
|
||||||
|
inlay_hints = {
|
||||||
|
auto = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -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,
|
|
||||||
}
|
|
|
@ -3,12 +3,7 @@ return {
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- add more things to the ensure_installed table protecting against community packs modifying it
|
-- 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, {
|
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
|
||||||
"astro",
|
-- "lua"
|
||||||
"yaml",
|
|
||||||
"svelte",
|
|
||||||
"dockerfile",
|
|
||||||
"json5",
|
|
||||||
"markdown"
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue