mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 12:12:13 +02:00
added my own configuration for astronvim
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
return {
|
||||||
|
colorscheme = "tokyonight"
|
||||||
|
}
|
||||||
@@ -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/>",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -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" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user