Skip to content

Conversation

@coot
Copy link
Contributor

@coot coot commented May 29, 2023

No description provided.

@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #12463 (33d23e8) into master (c9fbd25) will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12463      +/-   ##
==========================================
+ Coverage   82.06%   82.09%   +0.02%     
==========================================
  Files         160      160              
  Lines      193588   193625      +37     
  Branches    43472    43475       +3     
==========================================
+ Hits       158877   158951      +74     
+ Misses      21853    21836      -17     
+ Partials    12858    12838      -20     
Flag Coverage Δ
huge-clang-none 82.74% <ø> (+0.01%) ⬆️
linux 82.74% <ø> (+0.01%) ⬆️
mingw-x64-HUGE 76.61% <ø> (+0.04%) ⬆️
mingw-x86-HUGE 77.07% <ø> (+0.03%) ⬆️
windows 78.20% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 37 files with indirect coverage changes

@brammool
Copy link
Contributor

brammool commented May 31, 2023 via email

@coot
Copy link
Contributor Author

coot commented Jun 11, 2023

I tried to set XDG_CONFIG_HOME in Test_filetype_detection with:

  if !empty(windowsversion())
    let $XDG_CONFIG_HOME=expand("$HOME/.config")
  endif

and vim complains with:

Found errors in Test_filetype_detection():
Caught exception in Test_filetype_detection(): Vim(call):E1126: Cannot use :let in Vim9 script @ command line..script /home/coot/src/vim/src/testdir/runtest.vim[569]..function Ru
nTheTest[52]..Test_filetype_detection, line 2

@coot
Copy link
Contributor Author

coot commented Jun 11, 2023

Oh, I see var should be used, but it doesn't support setting environment variables. Maybe there's a function for that now...

@coot coot force-pushed the coot/cabal-config branch from a326252 to 33d23e8 Compare June 11, 2023 08:32
@coot
Copy link
Contributor Author

coot commented Jun 11, 2023

@brammool I added a test which caught a mistake 🎉.

@brammool
Copy link
Contributor

brammool commented Jun 14, 2023 via email

@brammool brammool closed this in 166cd7b Jun 14, 2023
smjonas added a commit to smjonas/neovim that referenced this pull request Jun 14, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Co-authored-by: Marcin Szamotulski <[email protected]>
smjonas added a commit to smjonas/neovim that referenced this pull request Jun 15, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Co-authored-by: Marcin Szamotulski <[email protected]>
seandewar pushed a commit to smjonas/neovim that referenced this pull request Jun 25, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Co-authored-by: Marcin Szamotulski <[email protected]>
seandewar pushed a commit to smjonas/neovim that referenced this pull request Jun 26, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Also:
- Do not expand Lua patterns in environment variables used in file patterns.
- Test $XDG_CONFIG_HOME on Windows, as it can be used by Nvim (and the runner
  sets it).

Co-authored-by: Marcin Szamotulski <[email protected]>
seandewar pushed a commit to smjonas/neovim that referenced this pull request Jun 26, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Also:
- Do not expand Lua patterns in environment variables used in file patterns.
- Test $XDG_CONFIG_HOME on Windows, as it can be used by Nvim (and the runner
  sets it).

Co-authored-by: Marcin Szamotulski <[email protected]>
seandewar pushed a commit to neovim/neovim that referenced this pull request Jun 26, 2023
Problem:    Not all cabal config files are recognized.
Solution:   Add a couple of patterns. (Marcin Szamotulski, closes vim/vim#12463)

vim/vim@166cd7b

Also:
- Do not expand Lua patterns in environment variables used in file patterns.
- Test $XDG_CONFIG_HOME on Windows, as it can be used by Nvim (and the runner
  sets it).

Co-authored-by: Marcin Szamotulski <[email protected]>
@coot coot deleted the coot/cabal-config branch June 29, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants