Debug
September 27, 2023 ยท View on GitHub
Where a mapping/command/autocommand was defined
- Open nvim with
-Voption.nvim -V1 :verboseto see where a mapping/command/autocommand was defined.:verbose map m
Disable other plugins
Use the onlyPlugins option.
NOTE
- plugin manager will be not disabled by
onlyPlugins.
To disable all plugins
require('one').setup {
-- @param [opts.onlyPlugins] {string[]}
-- It's useful for debug. Defaults to nil.
-- If set empty table, all builtin and user-defined plugins are disabled.
-- If set non-empty table, only these plugins are not disabled.
onlyPlugins = {},
}
To disable all plugins except these plugins
require('one').setup {
-- @param [opts.onlyPlugins] {string[]}
-- It's useful for debug. Defaults to nil.
-- If set empty table, all builtin and user-defined plugins are disabled.
-- If set non-empty table, only these plugins are not disabled.
onlyPlugins = { 'tiagovla/scope.nvim', 'akinsho/bufferline.nvim' },
}
Problem with highlights of treesitter
nvim-treesitter has many Breaking Changes. Read the Notice of Breaking Changes.