small fix
This commit is contained in:
parent
114a1d8d13
commit
9ebe29ff69
8 changed files with 34 additions and 15 deletions
10
lua/plugins/fzf.lua
Normal file
10
lua/plugins/fzf.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
{
|
||||
'ibhagwan/fzf-lua',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
config = function()
|
||||
-- calling `setup` is optional for customization
|
||||
require('fzf-lua').setup {}
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
@ -3,8 +3,8 @@ return {
|
|||
'mfussenegger/nvim-lint',
|
||||
init = function()
|
||||
require('lint').linters_by_ft = {
|
||||
javascript = { 'eslint_d' },
|
||||
typescript = { 'eslint_d' },
|
||||
javascript = { 'biomejs' },
|
||||
typescript = { 'biomejs' },
|
||||
json = { 'jsonlint' },
|
||||
lua = { 'luacheck' },
|
||||
go = { 'revive' },
|
||||
|
|
@ -15,7 +15,7 @@ return {
|
|||
vim.api.nvim_create_autocmd({ 'BufEnter', 'BufWritePost', 'InsertLeave' }, {
|
||||
group = lint_augroup,
|
||||
callback = function()
|
||||
require('lint').try_lint 'codespell'
|
||||
-- require('lint').try_lint 'typos'
|
||||
require('lint').try_lint()
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@ return {
|
|||
opts = {},
|
||||
config = function(_, opts)
|
||||
opts = opts or {}
|
||||
require 'lspconfig'
|
||||
|
||||
print(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ return {
|
|||
lsp_client_name = colors.purple,
|
||||
use = true,
|
||||
},
|
||||
spinner = { '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏' },
|
||||
timer = {
|
||||
progress_enddelay = 1500,
|
||||
spinner = 1500,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ return {
|
|||
dependencies = { 'kevinhwang91/promise-async' },
|
||||
opts = {
|
||||
open_fold_hl_timeout = 400,
|
||||
close_fold_kinds_for_ft = { 'imports', 'comment' },
|
||||
close_fold_kinds_for_ft = { default = { 'imports', 'comment' } },
|
||||
preview = {
|
||||
win_config = {
|
||||
border = { '', '─', '', '', '', '─', '', '' },
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ return {
|
|||
{
|
||||
'HiPhish/rainbow-delimiters.nvim',
|
||||
config = function(_, opts)
|
||||
require('rainbow-delimiters.setup').setup {}
|
||||
require('rainbow-delimiters.setup').setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue