Git Product home page Git Product logo

Comments (3)

echasnovski avatar echasnovski commented on September 2, 2024

By default if no LSP completion available 'mini.completion' acts like user typed <C-n> to complete from sources defined in 'complete'. If it says scanning tags, it means that you have t in 'complete'. If you remove it with set complete-=t, this message won't show.

Bad news is, probably another message will be shown (something like "Scanning <file>"). I couldn't find the way to disable those messages. I hoped that having c in 'shortmess' would solve this but it is not the case. I think there is some issue or PR in Vim/Neovim to fix this, but don't quite remember. It was annoying for me at first, but then somehow I adapted to this.

If this is really annoying, you can either disable fallback completion (supply function() end as MiniCompletion.config.fallback_action) or try something else (maybe other mapping from :h ins-completion).

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

Another semi-solution that seems to "work" comes from these comments:

  • set showmode.
  • set shortmess+=c.
  • "Hide" mode message by defining hi ModeMsg guifg=<your background color> guibg=NONE gui=NONE. This way it will be shown but not seen.

from mini.nvim.

echasnovski avatar echasnovski commented on September 2, 2024

After almost a year, this is finally possible in Neovim nightly. See neovim/neovim#20633. I've just tested with latest release, and doing :set shortmess+=C works.

from mini.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.