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
|
||||
|
||||
function open --wraps 'xdg-open'
|
||||
xdg-open &>/dev/null & disown
|
||||
xdg-open $argv &>/dev/null & disown
|
||||
end
|
||||
|
||||
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" })
|
||||
require("mason").setup()
|
||||
local mason = require("mason").setup()
|
||||
|
||||
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>"]])
|
||||
|
||||
-- Snippet integration for mini.completion
|
||||
require("mini.snippets").setup()
|
||||
-- require("mini.snippets").setup()
|
||||
|
||||
-- Icons for statusline and completion
|
||||
require("mini.icons").setup()
|
||||
|
|
@ -267,6 +267,9 @@ require("mini.git").setup()
|
|||
-- Show git diff in linenumbers
|
||||
require("mini.diff").setup()
|
||||
|
||||
-- Use mini.notify
|
||||
require("mini.notify").setup()
|
||||
|
||||
-- Use and configure mini.clue
|
||||
local clue = require("mini.clue")
|
||||
clue.setup({
|
||||
|
|
@ -323,19 +326,16 @@ clue.setup({
|
|||
|
||||
|
||||
-- Use and configure mini.hipatterns
|
||||
local hipatterns = require('mini.hipatterns')
|
||||
hipatterns.setup({
|
||||
highlighters = {
|
||||
-- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
||||
fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
||||
hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
||||
todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
||||
note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
||||
|
||||
-- Highlight hex color strings (`#rrggbb`) using that color
|
||||
hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||
},
|
||||
})
|
||||
|
||||
-- Use mini.notify
|
||||
require("mini.notify").setup()
|
||||
-- local hipatterns = require('mini.hipatterns')
|
||||
-- hipatterns.setup({
|
||||
-- highlighters = {
|
||||
-- -- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE'
|
||||
-- fixme = { pattern = '%f[%w]()FIXME()%f[%W]', group = 'MiniHipatternsFixme' },
|
||||
-- hack = { pattern = '%f[%w]()HACK()%f[%W]', group = 'MiniHipatternsHack' },
|
||||
-- todo = { pattern = '%f[%w]()TODO()%f[%W]', group = 'MiniHipatternsTodo' },
|
||||
-- note = { pattern = '%f[%w]()NOTE()%f[%W]', group = 'MiniHipatternsNote' },
|
||||
--
|
||||
-- -- Highlight hex color strings (`#rrggbb`) using that color
|
||||
-- hex_color = hipatterns.gen_highlighter.hex_color(),
|
||||
-- },
|
||||
-- })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue