Skip to content

fix: register user_commands with LspAttach augroup instead of ftplugin#358

Open
MrkMrk00 wants to merge 1 commit intopmizio:masterfrom
MrkMrk00:pr/lsp-attach-user-commands
Open

fix: register user_commands with LspAttach augroup instead of ftplugin#358
MrkMrk00 wants to merge 1 commit intopmizio:masterfrom
MrkMrk00:pr/lsp-attach-user-commands

Conversation

@MrkMrk00
Copy link

My problem:

When opening a .vue file the user commands don't get registered. Solutions:

  1. Open a .ts file first and then continue with working in .vue files.
  2. This PR

Also what do you think about changing the create_lsp_attach_augcmd in autocommands.common to use the filetypes specified in lspconfig.configs instead of custom matching the extensions? This could then be easily configurable.

@skopz356
Copy link

👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants