Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use setlocal for temporary completeopt adjustment
Since vim 9.1.0469, completeopt is a global-local option. When adding `noselect`, we need to treat `completeopt` as local and use `setlocal`. This works for 9.1.0016 as well and allows users to freely mess with buffer-local `completeopt` without messing up YCM completions.
- Loading branch information