iamcco / diagnostic-languageserver

diagnostic language server integrate with linters
MIT License
418 stars 28 forks source link

Add an option for filename relative to workspace directory #27

Closed xulongwu4 closed 3 years ago

xulongwu4 commented 4 years ago

Hi, first of all let me say that I like this plugin very much. It adds a lot of flexibility to coc.nvim.

While adding some linter and formatter myself, I found some of them can take the relative file path with respect to the workspace directory. Right now this language server supports "%text", "%filename", "%file", "%filepath". Is it support to add support for file's relative path when rootPattern is specified? Thanks.

iamcco commented 4 years ago

Not support yet.

ngmy commented 3 years ago

I think the relative path is very useful when running linter over Docker. I am looking forward to it.

iamcco commented 3 years ago

%relativepath is supported