Compare commits

..

No commits in common. "a7a6f014642bfcbf9a165069224f90e2d9f2370c" and "8b1abcfda974d211dca7f940be2f9070b6568745" have entirely different histories.

6 changed files with 4 additions and 88 deletions

View File

@ -1,7 +1,6 @@
vim.g.mapleader = " " vim.g.mapleader = " "
require('keymap') require('keymap')
require('plugins') require('plugins')
require('jester_config')
require('globals_opts') require('globals_opts')
require('native_commands') require('native_commands')
require('nvim-lightbulb_config') require('nvim-lightbulb_config')
@ -20,5 +19,3 @@ require("trouble_config")
require("symbols_outline") require("symbols_outline")
require("luasnip_config") require("luasnip_config")
require("brightest_config") require("brightest_config")
require("nvim_autopairs_config")
require("vim_illuminate_config")

View File

@ -1,5 +1,4 @@
vim.g['brightest#highlight'] = { group = 'BrightestUnderline' } vim.g['brightest#highlight'] = { group = 'BrightestUnderline' }
vim.g['brightest_enable'] = 0
vim.g['brightest#enable_filetypes'] = { vim.g['brightest#enable_filetypes'] = {
_ = 1, _ = 1,
vim = 0, vim = 0,

View File

@ -7,7 +7,7 @@ require'jester'.setup({
path_to_jest_debug = './node_modules/jest/bin/jest', -- used for debugging path_to_jest_debug = './node_modules/jest/bin/jest', -- used for debugging
terminal_cmd = ":vsplit | terminal", -- used to spawn a terminal for running tests, for debugging refer to nvim-dap's config terminal_cmd = ":vsplit | terminal", -- used to spawn a terminal for running tests, for debugging refer to nvim-dap's config
dap = { -- debug adapter configuration dap = { -- debug adapter configuration
type = 'pwa-node', type = 'node2',
request = 'launch', request = 'launch',
cwd = vim.fn.getcwd(), cwd = vim.fn.getcwd(),
runtimeArgs = {'--inspect-brk', '$path_to_jest', '--no-coverage', '-t', '$result', '--', '$file'}, runtimeArgs = {'--inspect-brk', '$path_to_jest', '--no-coverage', '-t', '$result', '--', '$file'},

View File

@ -1,26 +0,0 @@
require('nvim-autopairs').setup({
disable_filetype = { "TelescopePrompt", "vim", "spectre_panel" },
disable_in_macro = true, -- disable when recording or executing a macro
disable_in_visualblock = false, -- disable when insert after visual block mode
disable_in_replace_mode = true,
ignored_next_char = [=[[%w%%%'%[%"%.%`%$]]=],
enable_moveright = true,
enable_afterquote = true, -- add bracket pairs after quote
enable_check_bracket_line = true, --- check bracket in same line
enable_bracket_in_quote = true, --
enable_abbr = false, -- trigger abbreviation
break_undo = true, -- switch for basic rule break undo sequence
check_ts = false,
map_cr = true,
map_bs = true, -- map the <BS> key
map_c_h = false, -- Map the <C-h> key to delete a pair
map_c_w = false -- map <c-w> to delete a pair if possible
})
-- If you want insert `(` after select function or method item
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)

View File

@ -28,11 +28,7 @@ require("packer").startup(function(use)
requires = { { "nvim-lua/plenary.nvim" } }, requires = { { "nvim-lua/plenary.nvim" } },
}) })
use("nvim-lua/lsp-status.nvim") use("nvim-lua/lsp-status.nvim")
-- use("jiangmiao/auto-pairs") use("jiangmiao/auto-pairs")
use {
"windwp/nvim-autopairs"
-- config = function() require("nvim-autopairs").setup {} end
}
use("machakann/vim-highlightedyank") use("machakann/vim-highlightedyank")
use("bling/vim-airline") use("bling/vim-airline")
use("airblade/vim-gitgutter") use("airblade/vim-gitgutter")
@ -106,13 +102,12 @@ require("packer").startup(function(use)
requires = "kyazdani42/nvim-web-devicons" requires = "kyazdani42/nvim-web-devicons"
} }
use 'simrat39/symbols-outline.nvim' use 'simrat39/symbols-outline.nvim'
use { 'j-hui/fidget.nvim', version = 'legacy' } use 'j-hui/fidget.nvim'
use { 'shuntaka9576/preview-swagger.nvim' } use { 'shuntaka9576/preview-swagger.nvim' }
use 'towolf/vim-helm' use 'towolf/vim-helm'
use { 'catppuccin/nvim', as = "catppuccin" } use { 'catppuccin/nvim', as = "catppuccin" }
use 'gpanders/editorconfig.nvim' use 'gpanders/editorconfig.nvim'
use 'RRethy/vim-illuminate' use 'osyo-manga/vim-brightest'
use 'David-Kunz/jester'
use { 'kylechui/nvim-surround', use { 'kylechui/nvim-surround',
tag = "*", tag = "*",
config = function() config = function()

View File

@ -1,49 +0,0 @@
-- default configuration
require('illuminate').configure({
-- providers: provider used to get references in the buffer, ordered by priority
providers = {
'treesitter',
'regex',
},
-- delay: delay in milliseconds
delay = 100,
-- filetype_overrides: filetype specific overrides.
-- The keys are strings to represent the filetype while the values are tables that
-- supports the same keys passed to .configure except for filetypes_denylist and filetypes_allowlist
filetype_overrides = { },
-- filetypes_denylist: filetypes to not illuminate, this overrides filetypes_allowlist
filetypes_denylist = {
'dirvish',
'fugitive',
'NvimTree',
'TelescopePrompt',
'Trouble'
},
-- filetypes_allowlist: filetypes to illuminate, this is overriden by filetypes_denylist
filetypes_allowlist = {},
-- modes_denylist: modes to not illuminate, this overrides modes_allowlist
-- See `:help mode()` for possible values
modes_denylist = {},
-- modes_allowlist: modes to illuminate, this is overriden by modes_denylist
-- See `:help mode()` for possible values
modes_allowlist = {},
-- providers_regex_syntax_denylist: syntax to not illuminate, this overrides providers_regex_syntax_allowlist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_denylist = {},
-- providers_regex_syntax_allowlist: syntax to illuminate, this is overriden by providers_regex_syntax_denylist
-- Only applies to the 'regex' provider
-- Use :echom synIDattr(synIDtrans(synID(line('.'), col('.'), 1)), 'name')
providers_regex_syntax_allowlist = {},
-- under_cursor: whether or not to illuminate under the cursor
under_cursor = true,
-- large_file_cutoff: number of lines at which to use large_file_config
-- The `under_cursor` option is disabled when this cutoff is hit
large_file_cutoff = 1000,
-- large_file_config: config to use for large files (based on large_file_cutoff).
-- Supports the same keys passed to .configure
-- If nil, vim-illuminate will be disabled for large files.
large_file_overrides = nil,
-- min_count_to_highlight: minimum number of matches required to perform highlighting
min_count_to_highlight = 1,
})