altermo
altermo
No, I'm not planning to do it here. Though I'm fine with refactoring it in another PR. (Give some response if you're okay with that) (Also explain how augroups would...
Nothing (well technically some autocmds may trigger for non-current window (e.g. `WinClosed`, `WinScrolled` and `WinResized`)) But the idea is that when more namespace scopes get added, this will become more...
We could also do `` when either `'tagfunc'` is defined or when `len(tagfiles())` is over 0, and otherwise `gd`. Example keymap ```lua vim.keymap.set('n', 'gd', function() if vim.o.tagfunc ~= '' or...
https://github.com/neovim/neovim/pull/28728 solves the problem.
Yes, use `require'ultimate-autopair.maps.cr'.cmpnewline()` like so: ```lua cmp.mapping(function() if cmp.get_active_entry() then cmp.confirm() else require'ultimate-autopair.maps.cr'.cmpnewline() end end) ````
Currently that specific feature is not possible. I may decide to add the feature in the future.
The feature to solve this, which is falling back to keymapping, is on the TODO list. But until I get to that part of the TODO list, you can use...
It is on the TODO list for the next version.
If anyone wants this feature before I implement it: ```lua local cmp=require('cmp') local Kind=cmp.lsp.CompletionItemKind cmp.event:on( 'confirm_done', function (evt) if vim.tbl_contains({Kind.Function,Kind.Method},evt.entry:get_completion_item().kind) then vim.api.nvim_feedkeys('()'..vim.api.nvim_replace_termcodes('',true,true,true),'n',false) end end) ```