From 25366eb90ff2d18bbc3b4dcbc4ec88f0f1a8cf67 Mon Sep 17 00:00:00 2001 From: Mikkel Svartveit Date: Wed, 28 May 2025 14:55:30 +0200 Subject: [PATCH] Remove some neovim plugins --- nvim/coc-settings.json | 38 -------------------------- nvim/lua/plugins.lua | 62 ------------------------------------------ 2 files changed, 100 deletions(-) delete mode 100644 nvim/coc-settings.json diff --git a/nvim/coc-settings.json b/nvim/coc-settings.json deleted file mode 100644 index 2ee291b..0000000 --- a/nvim/coc-settings.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "coc.preferences.formatOnSaveFiletypes": [ - "go", - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "svelte", - "astro", - "html", - "css", - "json", - "graphql", - "markdown" - ], - "python.formatting.provider": "black", - "python.formatting.blackPath": "/Library/Frameworks/Python.framework/Versions/3.9/bin/black", - "pyright.inlayHints.functionReturnTypes": false, - "pyright.inlayHints.variableTypes": false, - "svelte.enable-ts-plugin": true, - "eslint.probe": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "svelte" - ], - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "svelte" - ] -} diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index bd0a785..3ad9002 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -24,37 +24,6 @@ require("lazy").setup({ end }, - -- Syntax highlighting for almost every language - { - "sheerun/vim-polyglot", - init = function() - vim.g.vim_svelte_plugin_load_full_syntax = 1 - vim.g.vim_svelte_plugin_use_typescript = 1 - vim.g.vim_svelte_plugin_use_sass = 1 - end - }, - - -- Support for Astro - { - "wuelnerdotexe/vim-astro", - ft = "astro", - init = function() - vim.g.astro_typescript = "enable" - end - }, - - -- Add two-character motions with s and S - -- { - -- "ggandor/leap.nvim", - -- keys = { "s", "S" }, - -- dependencies = { - -- "tpope/vim-repeat", - -- }, - -- config = function() - -- require('leap').add_default_mappings() - -- end - -- }, - -- Easy commenting/uncommenting { "numToStr/Comment.nvim", @@ -74,32 +43,8 @@ require("lazy").setup({ 'windwp/nvim-autopairs', event = "InsertEnter", opts = {}, - -- Make it play well with CoC - init = function() - local remap = vim.api.nvim_set_keymap - local npairs = require('nvim-autopairs') - npairs.setup({map_cr=false}) - - _G.MUtils= {} - - MUtils.completion_confirm=function() - if vim.fn["coc#pum#visible"]() ~= 0 then - return vim.fn["coc#pum#confirm"]() - else - return npairs.autopairs_cr() - end - end - - remap('i' , '','v:lua.MUtils.completion_confirm()', {expr = true , noremap = true}) - end }, - -- VSCode-like multi-cursor support - -- { - -- "mg979/vim-visual-multi", - -- branch = "master", - -- }, - -- Supermaven AI assist { "supermaven-inc/supermaven-nvim", @@ -254,13 +199,6 @@ require("lazy").setup({ end, }, - -- Tool for resolving Git merge conflicts - { - "akinsho/git-conflict.nvim", - tag = "v1.0.0", - config = true, - }, - -- VSCode-like scrollbar with Git and diagnostic markers { "petertriho/nvim-scrollbar",