diff options
| author | Hugo Barrera <hugo@barrera.io> | 2021-05-06 07:08:08 +0000 |
|---|---|---|
| committer | Hugo Osvaldo Barrera <hugo@barrera.io> | 2021-05-06 09:24:32 +0200 |
| commit | 5085668d62214992298b56ad9c73905a94526fe2 (patch) | |
| tree | 0748b12141588da940ecc74a7611c850ef5c931a /lua/lspconfig/angularls.lua | |
| parent | Merge pull request #875 from zupatisc/master (diff) | |
| download | nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar.gz nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar.bz2 nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar.lz nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar.xz nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.tar.zst nvim-lspconfig-5085668d62214992298b56ad9c73905a94526fe2.zip | |
efm: Include current file dir in root detection
The current settings for EFM make it so that it will only work within a git repository.
This change adds a fallback, so that if the current file is _not_ inside a git repository
then the current directory is used instead.
This is useful, for example, when opening a random python file, so as to get feedback
from the system flake8.
Diffstat (limited to 'lua/lspconfig/angularls.lua')
0 files changed, 0 insertions, 0 deletions
