molleweide
3 years ago
committed by
GitHub
17 changed files with 264 additions and 13 deletions
@ -0,0 +1,31 @@ |
|||||
|
return function() |
||||
|
|
||||
|
-- TODO: this option should make firenvim NOT trigger on enter textarea |
||||
|
-- so that user can trigger nvim with keybinding instead. |
||||
|
-- however, something is not working here so... |
||||
|
-- NOTE: see this issue for help https://github.com/glacambre/firenvim/issues/991 |
||||
|
|
||||
|
-- required global config object |
||||
|
-- vim.cmd([[ |
||||
|
-- let g:firenvim_config = { |
||||
|
-- \ 'globalSettings': { |
||||
|
-- \ 'alt': 'all', |
||||
|
-- \ }, |
||||
|
-- \ 'localSettings': { |
||||
|
-- \ '.*': { |
||||
|
-- \ 'cmdline': 'neovim', |
||||
|
-- \ 'content': 'text', |
||||
|
-- \ 'priority': 0, |
||||
|
-- \ 'selector': 'textarea', |
||||
|
-- \ 'takeover': 'always', |
||||
|
-- \ }, |
||||
|
-- \ } |
||||
|
-- \ } |
||||
|
-- ]]) |
||||
|
|
||||
|
-- -- disable nvim from triggering on entering textarea |
||||
|
-- vim.cmd([[ |
||||
|
-- let fc = g:firenvim_config['localSettings'] |
||||
|
-- let fc['.*'] = { 'takeover': 'never' } |
||||
|
-- ]]) |
||||
|
end |
@ -0,0 +1,7 @@ |
|||||
|
return function() |
||||
|
require("todo-comments").setup { |
||||
|
-- your configuration comes here |
||||
|
-- or leave it empty to use the default settings |
||||
|
-- refer to the configuration section below |
||||
|
} |
||||
|
end |
@ -0,0 +1,7 @@ |
|||||
|
return function() |
||||
|
require("trouble").setup { |
||||
|
-- your configuration comes here |
||||
|
-- or leave it empty to use the default settings |
||||
|
-- refer to the configuration section below |
||||
|
} |
||||
|
end |
Loading…
Reference in new issue