Add some "ensure_installed" stuff
Just so I don't have to keep installing these stuffs everytime I keep installing this config on my university computers.
This commit is contained in:
parent
63ad4556f6
commit
aa32e1aff3
@ -7,7 +7,17 @@ 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("astrocore").list_insert_unique(opts.ensure_installed, {
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
||||||
-- "lua_ls",
|
"lua_ls",
|
||||||
|
"bash_language_server",
|
||||||
|
"pylsp",
|
||||||
|
"cmake-language-server",
|
||||||
|
"mesonlsp",
|
||||||
|
"vim-language-server",
|
||||||
|
"vimls",
|
||||||
|
"asm-lsp",
|
||||||
|
"css-lsp",
|
||||||
|
"glow",
|
||||||
|
"marksman",
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -5,7 +5,32 @@ 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("astrocore").list_insert_unique(opts.ensure_installed, {
|
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
|
||||||
-- "lua"
|
"lua",
|
||||||
|
"cpp",
|
||||||
|
"c",
|
||||||
|
"bash",
|
||||||
|
"vim",
|
||||||
|
"markdown",
|
||||||
|
"asm",
|
||||||
|
"cmake",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"printf",
|
||||||
|
"fish",
|
||||||
|
"git_config",
|
||||||
|
"git_rebase",
|
||||||
|
"gitcommit",
|
||||||
|
"gitignore",
|
||||||
|
"gitattributes",
|
||||||
|
"java",
|
||||||
|
"meson",
|
||||||
|
"ninja",
|
||||||
|
"python",
|
||||||
|
"sql",
|
||||||
|
"typescript",
|
||||||
|
"vimdoc",
|
||||||
|
"xml"
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
config = function()
|
config = function()
|
||||||
@ -18,6 +43,34 @@ return {
|
|||||||
enable_rename = true,
|
enable_rename = true,
|
||||||
enable_close = true,
|
enable_close = true,
|
||||||
enable_close_on_slash = true,
|
enable_close_on_slash = true,
|
||||||
|
},
|
||||||
|
ensure_installed = {
|
||||||
|
"lua",
|
||||||
|
"cpp",
|
||||||
|
"c",
|
||||||
|
"bash",
|
||||||
|
"vim",
|
||||||
|
"markdown",
|
||||||
|
"asm",
|
||||||
|
"cmake",
|
||||||
|
"css",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"printf",
|
||||||
|
"fish",
|
||||||
|
"git_config",
|
||||||
|
"git_rebase",
|
||||||
|
"gitcommit",
|
||||||
|
"gitignore",
|
||||||
|
"gitattributes",
|
||||||
|
"java",
|
||||||
|
"meson",
|
||||||
|
"ninja",
|
||||||
|
"python",
|
||||||
|
"sql",
|
||||||
|
"typescript",
|
||||||
|
"vimdoc",
|
||||||
|
"xml"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user