xvlog linter gives locale error on ALE #4996
-
I was trying to use xvlog as a linter for verilog, but was getting NO OUTPUT in ALEInfo even when there obviously were errors. While trying to run the xvlog executable with ALE, setting the output stream to 'both' gives the following output:
The command that xvlog tries to run is I have searched online for this error and I know it has something to do with locales. My locale is 'en-IN': but most importantly, the command runs without error on the terminal. My question is, what could be different when ALE runs the command, and I do? It might be helpful to get the complete output ALE gets, including warnings, but I could not find a way to do so either. I'm uploaded the ALEInfo output if it helps. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Simple fix: It's a small issue, but I find it interesting that vim doesn't inherit the locale from the shell that launched it. |
Beta Was this translation helpful? Give feedback.
Simple fix:
In Vimrc, use
let $LANG='en_IN'
(replace with your machine's locale : can be found by typinglocale
on terminal)It's a small issue, but I find it interesting that vim doesn't inherit the locale from the shell that launched it.