ray-x / lsp_signature.nvim

LSP signature hint as you type
Apache License 2.0
2.02k stars 57 forks source link

Triggering in a confusing place #218

Open h0adp0re opened 1 year ago

h0adp0re commented 1 year ago

Hey, when inside a paramter that is a large object, the floating window flickers on and off. This is not very helpful since I am already thinking about the code that is deeper in the object.

For example, Vue code:

export default Vue.extend({
  name: 'component-name',
  components: {
    Button,
  },
  mixins: [
    Mixin,
  ],
  props: {
    prop1: String,
    prop2: Boolean,
  },
  computed: {
    // Try adding a method in here and the float will flicker
  },
});

For now, I've set these settings to get the window when I really want it but it would be nice if the plugin could somehow understand that i don't need this type of help that deep into the object.

{
  floating_window = false,
  toggle_key = "<C-v>",
}