remove unneeded neovim plugins
This commit is contained in:
parent
d9c342fc8c
commit
f75dcd5c63
2 changed files with 23 additions and 23 deletions
|
|
@ -15,7 +15,7 @@ if status is-interactive
|
||||||
end
|
end
|
||||||
|
|
||||||
function open --wraps 'xdg-open'
|
function open --wraps 'xdg-open'
|
||||||
xdg-open &>/dev/null & disown
|
xdg-open $argv &>/dev/null & disown
|
||||||
end
|
end
|
||||||
|
|
||||||
function detach --description 'Detach a command from shell'
|
function detach --description 'Detach a command from shell'
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
|
||||||
|
|
||||||
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
|
||||||
require("mason").setup()
|
local mason = require("mason").setup()
|
||||||
|
|
||||||
vim.lsp.enable({ 'lua_ls', 'texlab', 'clangd', 'jdtls', 'fish_lsp', 'html', 'cssls', 'lemminx' })
|
vim.lsp.enable({ 'lua_ls', 'texlab', 'clangd', 'jdtls', 'fish_lsp', 'html', 'cssls', 'lemminx' })
|
||||||
|
|
||||||
|
|
@ -252,7 +252,7 @@ imap_expr('<Tab>', [[pumvisible() ? "\<C-n>" : "\<Tab>"]])
|
||||||
imap_expr('<S-Tab>', [[pumvisible() ? "\<C-p>" : "\<S-Tab>"]])
|
imap_expr('<S-Tab>', [[pumvisible() ? "\<C-p>" : "\<S-Tab>"]])
|
||||||
|
|
||||||
-- Snippet integration for mini.completion
|
-- Snippet integration for mini.completion
|
||||||
require("mini.snippets").setup()
|
-- require("mini.snippets").setup()
|
||||||
|
|
||||||
-- Icons for statusline and completion
|
-- Icons for statusline and completion
|
||||||
require("mini.icons").setup()
|
require("mini.icons").setup()
|
||||||
|
|
@ -267,6 +267,9 @@ require("mini.git").setup()
|
||||||
-- Show git diff in linenumbers
|
-- Show git diff in linenumbers
|
||||||
require("mini.diff").setup()
|
require("mini.diff").setup()
|
||||||
|
|
||||||
|
-- Use mini.notify
|
||||||
|
require("mini.notify").setup()
|
||||||
|
|
||||||
-- Use and configure mini.clue
|
-- Use and configure mini.clue
|
||||||
local clue = require("mini.clue")
|
local clue = require("mini.clue")
|
||||||
clue.setup({
|
clue.setup({
|
||||||
|
|
@ -323,19 +326,16 @@ clue.setup({
|
||||||
|
|
||||||
|
|
||||||
-- Use and configure mini.hipatterns
|
-- Use and configure mini.hipatterns
|
||||||
local hipatterns = require('mini.hipatterns')
|
-- local hipatterns = require('mini.hipatterns')
|
||||||
hipatterns.setup({
|
-- hipatterns.setup({
|
||||||
highlighters = {
|
-- highlighters = {
|
||||||
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
-- -- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
||||||
fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
-- fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
||||||
hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
-- hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
||||||
todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
-- todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
||||||
note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
-- note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
||||||
|
--
|
||||||
-- Highlight hex color strings (`#rrggbb`) using that color
|
-- -- Highlight hex color strings (`#rrggbb`) using that color
|
||||||
hex_color = hipatterns.gen_highlighter.hex_color(),
|
-- hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||||
},
|
-- },
|
||||||
})
|
-- })
|
||||||
|
|
||||||
-- Use mini.notify
|
|
||||||
require("mini.notify").setup()
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue