added my own configuration for astronvim

This commit is contained in:
aminnairi
2023-04-11 23:06:27 +02:00
parent 826d9f58ce
commit 8a6cc10ff9
4 changed files with 93 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.colorscheme.tokyonight" },
{ import = "astrocommunity.completion.copilot-lua-cmp" },
{ import = "astrocommunity.completion.copilot-lua" },
{
"copilot.lua",
opts = {
suggestion = {
keymap = {
accept = "<C-l>",
accept_word = false,
accept_line = false,
next = "<C-.>",
prev = "<C-,>",
dismiss = "<C/>",
},
},
},
},
}
+43
View File
@@ -0,0 +1,43 @@
return {
-- use mason-lspconfig to configure LSP installations
{
"williamboman/mason-lspconfig.nvim",
-- overrides `require("mason-lspconfig").setup(...)`
opts = {
ensure_installed = {
"lua_ls",
"tsserver",
"vimls",
"yamlls",
"bashls",
"angularls",
"elmls",
"ansiblels",
"docker_compose_language_service",
"dockerls",
"emmet_ls",
"jsonls",
"marksman",
"phan",
"pyright",
"svelte",
"volar",
},
},
},
-- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
{
"jay-babu/mason-null-ls.nvim",
-- overrides `require("mason-null-ls").setup(...)`
opts = {
-- ensure_installed = { "prettier", "stylua" },
},
},
{
"jay-babu/mason-nvim-dap.nvim",
-- overrides `require("mason-nvim-dap").setup(...)`
opts = {
-- ensure_installed = { "python" },
},
},
}
+26
View File
@@ -0,0 +1,26 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"lua",
"dart",
"dockerfile",
"elm",
"fish",
"html",
"css",
"javascript",
"jsonc",
"make",
"python",
"php",
"rust",
"sql",
"svelte",
"tsx",
"twig",
"vue",
"yaml",
},
},
}