emacs-lsp / lsp-treemacs

lsp-mode :heart: treemacs
GNU General Public License v3.0
393 stars 46 forks source link

Fix emacs native compilation warning #136

Open sdwolfz opened 1 year ago

sdwolfz commented 1 year ago

To reproduce, have emacs built with native compilation and notice the compilation logs. You can then open the offending file and run M-x emacs-lisp-native-compile-and-load before and after the changes to see the warning is removed.

 ■  Warning (comp): lsp-treemacs.el:652:2: Warning: docstring wider than
80 characters
 ■  Warning (comp): lsp-treemacs.el:982:2: Warning: docstring wider than
80 characters
 ■  Warning (comp): lsp-treemacs.el:992:2: Warning: docstring wider than
80 characters

Also fixes some eask specific warnings:

Unmatched website URL 
’[https://github.com/emacs-lsp/lsp-treemacs’](https://github.com/emacs-lsp/lsp-treemacs%E2%80%99); 
add (website-url "https://github.com/emacs-lsp/lsp-treemacs") to Eask-file

Unmatched keyword ’languages’; add (keywords ... "languages") to
Eask-file or consider removing it

There are also other emacs 29 warnings present but those need to be fixed in treemacs.