emacs-lsp / lsp-docker

Scripts and configurations to leverage lsp-mode in docker environment
GNU General Public License v3.0
251 stars 34 forks source link

Use smarter activation functions #69

Closed factyy closed 1 year ago

factyy commented 1 year ago

Don't just check that the file belongs to a registered project, but also:

  1. Call the original client's (whose id was specified in the config or via .dir-locals) activation function;
  2. Check that there is a match between major modes supported by the client and file being opened (checks were copied from the original lsp-mode).
factyy commented 1 year ago

Looks like everything is ok, merging