From 8485d1eba587238c9e5ffcea39551b02c443405a Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Fri, 29 Dec 2023 01:08:56 +0100 Subject: improve vim setup --- .config/nvim/lua/plugins.lua | 79 -------------------------------------------- 1 file changed, 79 deletions(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 39d5130..505cf76 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -1,11 +1,5 @@ return { "ThePrimeagen/vim-be-good", - "gauteh/vim-norway", - { - "nvim-telescope/telescope.nvim", - tag = "0.1.5", - dependencies = { "nvim-lua/plenary.nvim" }, - }, { "rose-pine/neovim", name = "rose-pine", @@ -13,21 +7,6 @@ return { vim.cmd("colorscheme rose-pine") end, }, - { - "VonHeikemen/lsp-zero.nvim", - branch = "v2.x", - dependencies = { - -- LSP Support - { "neovim/nvim-lspconfig" }, -- Required - { "williamboman/mason.nvim" }, -- Optional - { "williamboman/mason-lspconfig.nvim" }, -- Optional - - -- Autocompletion - { "hrsh7th/nvim-cmp", event = "InsertEnter" }, -- Required - { "hrsh7th/cmp-nvim-lsp" }, -- Required - { "L3MON4D3/LuaSnip" }, -- Required - }, - }, "github/copilot.vim", "nvim-lua/plenary.nvim", { @@ -49,62 +28,4 @@ return { require("better_escape").setup() end, }, - { - "nvimdev/lspsaga.nvim", - config = function() - require("lspsaga").setup({}) - end, - dependencies = { - "nvim-treesitter/nvim-treesitter", -- optional - "nvim-tree/nvim-web-devicons", -- optional - }, - }, - { - "stevearc/conform.nvim", - event = { "BufWritePre" }, - cmd = { "ConformInfo" }, - keys = { - { - -- Customize or remove this keymap to your liking - "f", - function() - require("conform").format({ async = true, lsp_fallback = true }) - end, - mode = "", - desc = "Format buffer", - }, - }, - -- Everything in opts will be passed to setup() - opts = { - -- Define your formatters - formatters_by_ft = { - lua = { "stylua" }, - python = { "isort", "black" }, - javascript = { { "prettierd", "prettier" } }, - markdown = { "deno_fmt", "prettierd" }, - }, - -- Set up format-on-save - format_on_save = { timeout_ms = 500, lsp_fallback = true }, - -- Customize formatters - formatters = { - shfmt = { - prepend_args = { "-i", "2" }, - }, - }, - }, - init = function() - -- If you want the formatexpr, here is the place to set it - vim.o.formatexpr = "v:lua.require'conform'.formatexpr()" - end, - }, - { - "nvim-neo-tree/neo-tree.nvim", - branch = "v3.x", - dependencies = { - "nvim-lua/plenary.nvim", - "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended - "MunifTanjim/nui.nvim", - -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information - }, - }, } -- cgit v1.2.3