From 4b85188e826cabc4460522deaccaf9bde58d3d6d Mon Sep 17 00:00:00 2001 From: Sergey Vanyushkin Date: Tue, 23 Apr 2024 16:52:15 +0000 Subject: [PATCH] enum --- community.lua | 63 --------------------------------------------------- user.lua | 15 ------------ 2 files changed, 78 deletions(-) delete mode 100644 community.lua delete mode 100644 user.lua diff --git a/community.lua b/community.lua deleted file mode 100644 index 559bf29..0000000 --- a/community.lua +++ /dev/null @@ -1,63 +0,0 @@ -local utils = require "astronvim.utils" - -return { - -- Add the community repository of plugin specifications - "AstroNvim/astrocommunity", - -- example of imporing a plugin, comment out to use it or add your own - -- available plugins can be found at https://github.com/AstroNvim/astrocommunity - { import = "astrocommunity.colorscheme.catppuccin", enabled = true }, - --{ import = "astrocommunity.colorscheme." }, - - { import = "astrocommunity.pack.python" }, - --- css and html - { import = "astrocommunity.pack.json" }, - { - "nvim-treesitter/nvim-treesitter", - opts = function(_, opts) - if opts.ensure_installed ~= "all" then - opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "html", "css" }) - end - end, - }, - { - "williamboman/mason-lspconfig.nvim", - opts = function(_, opts) - opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { "html", "cssls" }) - end, - }, - { - "andythigpen/nvim-coverage", - event = "User AstroFile", - requires = { "nvim-lua/plenary.nvim" }, - }, - { - "nvim-neotest/neotest", - config = function() - -- get neotest namespace (api call creates or returns namespace) - local neotest_ns = vim.api.nvim_create_namespace "neotest" - vim.diagnostic.config({ - virtual_text = { - format = function(diagnostic) - local message = diagnostic.message:gsub("\n", " "):gsub("\t", " "):gsub("%s+", " "):gsub("^%s+", "") - return message - end, - }, - }, neotest_ns) - require("neotest").setup { - -- your neotest config here - adapters = { - require "neotest-go", - require "neotest-rust", - require "neotest-python", - }, - } - end, - ft = { "go", "rust", "python" }, - dependencies = { - "nvim-neotest/neotest-go", - "nvim-neotest/neotest-python", - "rouge8/neotest-rust", - }, - }, -} diff --git a/user.lua b/user.lua deleted file mode 100644 index b9741f2..0000000 --- a/user.lua +++ /dev/null @@ -1,15 +0,0 @@ -return { - lsp = { - formatting = { - format_on_save = true, -- enable or disable automatic formatting on save - timeout_ms = 3200, -- adjust the timeout_ms variable for formatting - }, - }, - options = { - opt = { - foldenable = false, - foldexpr = "nvim_treesitter#foldexpr()", -- set Treesitter based folding - foldmethod = "expr", - }, - }, -} \ No newline at end of file