diff --git a/nvim/lua/user/init.lua b/nvim/lua/user/init.lua new file mode 100644 index 0000000..a41e369 --- /dev/null +++ b/nvim/lua/user/init.lua @@ -0,0 +1,3 @@ +return { + colorscheme = "tokyonight" +} diff --git a/nvim/lua/user/plugins/community.lua b/nvim/lua/user/plugins/community.lua new file mode 100644 index 0000000..d91edf1 --- /dev/null +++ b/nvim/lua/user/plugins/community.lua @@ -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 = "", + accept_word = false, + accept_line = false, + next = "", + prev = "", + dismiss = "", + }, + }, + }, + }, +} diff --git a/nvim/lua/user/plugins/mason.lua b/nvim/lua/user/plugins/mason.lua new file mode 100644 index 0000000..15a8057 --- /dev/null +++ b/nvim/lua/user/plugins/mason.lua @@ -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" }, + }, + }, +} diff --git a/nvim/lua/user/plugins/treesitter.lua b/nvim/lua/user/plugins/treesitter.lua new file mode 100644 index 0000000..e34c5d4 --- /dev/null +++ b/nvim/lua/user/plugins/treesitter.lua @@ -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", + }, + }, +}