aboutsummaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua/plugins.lua
diff options
context:
space:
mode:
authorSimen A. W. Olsen <so@bjerk.io>2023-12-29 01:08:56 +0100
committerSimen A. W. Olsen <so@bjerk.io>2023-12-29 01:08:56 +0100
commit8485d1eba587238c9e5ffcea39551b02c443405a (patch)
treee45116e62dcd2ecf9233e40468237e67174c828d /.config/nvim/lua/plugins.lua
parent891fad07f520115bb2f44c8e9ed45726a465e3a5 (diff)
downloaddotfiles-8485d1eba587238c9e5ffcea39551b02c443405a.tar.gz
dotfiles-8485d1eba587238c9e5ffcea39551b02c443405a.zip
improve vim setup
Diffstat (limited to '.config/nvim/lua/plugins.lua')
-rw-r--r--.config/nvim/lua/plugins.lua79
1 files changed, 0 insertions, 79 deletions
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
- "<leader>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
- },
- },
}