fortran-lang / fortls

fortls - Fortran Language Server
https://fortls.fortran-lang.org/
MIT License
258 stars 41 forks source link

Investigate adding syntax highlighting #56

Open gnikit opened 2 years ago

gnikit commented 2 years ago

The language server can provide syntax highlighting. It would be interesting to explore potential improvements using this feature.

I would not consider adding full-blown support like in VSCode but if the server would serve additional scopes on an existing syntax that would be extremely beneficial since functions are not currently highlighted in any TextMate grammar file I have seen.

gnikit commented 2 years ago

I need to implement semantic tokens request fulfillment: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens

ivan-pi commented 6 months ago

Speaking of syntax highlighting, I find it nice to be able to highlight namelists too. I wrote a configuration for Notepad++ in the past: https://gist.github.com/ivan-pi/18babf715c098b3225537cf63a70402e