diff options
author | w0rp <devw0rp@gmail.com> | 2017-08-05 20:17:25 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-08-05 20:17:25 +0100 |
commit | 593cafa18b627b8911da4810fe0fe25e1d18e7eb (patch) | |
tree | 0e91e94009fa9f2c33319783fa74db25705db188 /ale_linters/verilog | |
parent | 747d4fe80b8dfdc65260868230b8e3fded328228 (diff) | |
download | ale-593cafa18b627b8911da4810fe0fe25e1d18e7eb.zip |
Fix #823 - Write Windows files with CRLF
Diffstat (limited to 'ale_linters/verilog')
-rw-r--r-- | ale_linters/verilog/verilator.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ale_linters/verilog/verilator.vim b/ale_linters/verilog/verilator.vim index aa5e7047..9a0067e8 100644 --- a/ale_linters/verilog/verilator.vim +++ b/ale_linters/verilog/verilator.vim @@ -11,7 +11,8 @@ function! ale_linters#verilog#verilator#GetCommand(buffer) abort " Create a special filename, so we can detect it in the handler. call ale#engine#ManageFile(a:buffer, l:filename) - call writefile(getbufline(a:buffer, 1, '$'), l:filename) + let l:lines = getbufline(a:buffer, 1, '$') + call ale#util#Writefile(a:buffer, l:lines, l:filename) return 'verilator --lint-only -Wall -Wno-DECLFILENAME ' \ . ale#Var(a:buffer, 'verilog_verilator_options') .' ' |