mirror of
https://github.com/mikkelsvartveit/dotfiles.git
synced 2025-12-22 11:12:39 +00:00
Remove some neovim plugins
This commit is contained in:
parent
cbec5c11c3
commit
25366eb90f
2 changed files with 0 additions and 100 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
@ -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' , '<CR>','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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue