Skip to content

Conversation

hsgg
Copy link

@hsgg hsgg commented Mar 17, 2024

This is a bit of an RFC, as I am not entirely sure it is the right place for the fix.

lua_ls marks fields that are missing in the configuration. Since they are not marked as optional in the Comment.nvim source code, I get a big "Missing required fields" warning as in the "Before" picture

This PR marks the fields explicitly as optional, giving the "After" picture. I modeled the fix after #hrsh7th/nvim-cmp/pull/1723 .

Before:
image

After:
image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant