Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
dd701b268a | |||
654f200459 | |||
![]() |
bbf98cedf2 |
9 changed files with 60 additions and 37 deletions
|
@ -7,6 +7,7 @@ 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
|
||||
|
|
5
plugins/codeium.lua
Normal file
5
plugins/codeium.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
--- 'Exafunction/codeium.vim',
|
||||
--- event = 'BufEnter'
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
return {
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
opts = {}
|
||||
},
|
||||
}
|
||||
|
|
19
plugins/mason-lspconfig.lua
Normal file
19
plugins/mason-lspconfig.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
-- 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"
|
||||
},
|
||||
},
|
||||
}
|
|
@ -18,7 +18,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, {
|
||||
-- "prettier",
|
||||
"prettier",
|
||||
-- "stylua",
|
||||
})
|
||||
end,
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
return {
|
||||
"MunifTanjim/prettier.nvim",
|
||||
config = function()
|
||||
prettier.setup({
|
||||
bin = 'prettierd', -- or `'prettierd'` (v0.23.3+)
|
||||
filetypes = {
|
||||
"css",
|
||||
"graphql",
|
||||
"html",
|
||||
"javascript",
|
||||
"javascriptreact",
|
||||
"json",
|
||||
"less",
|
||||
"markdown",
|
||||
"scss",
|
||||
"typescript",
|
||||
"typescriptreact",
|
||||
"yaml",
|
||||
"astro",
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
return {
|
||||
"simrat39/rust-tools.nvim",
|
||||
opts = {
|
||||
tools = {
|
||||
inlay_hints = {
|
||||
auto = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
26
plugins/rustaceannvim.lua.old
Normal file
26
plugins/rustaceannvim.lua.old
Normal file
|
@ -0,0 +1,26 @@
|
|||
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,7 +3,12 @@ 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, {
|
||||
-- "lua"
|
||||
"astro",
|
||||
"yaml",
|
||||
"svelte",
|
||||
"dockerfile",
|
||||
"json5",
|
||||
"markdown"
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue