Move lspconfig from lua to nix
This commit is contained in:
parent
e4b7645102
commit
e30d42e8f2
4 changed files with 137 additions and 77 deletions
modules/common
|
@ -86,7 +86,7 @@ let
|
|||
mkAttrName = s:
|
||||
let
|
||||
# These list *are* incomplete
|
||||
forbiddenChars = lib.stringToCharacters "<>[]{}()'\".,:;\\/";
|
||||
forbiddenChars = lib.stringToCharacters "<>[]{}()'\".,:;\\/*_";
|
||||
keywords = [ "if" "then" "else" "do" "for" "local" "" ];
|
||||
in
|
||||
if lib.any (c: lib.hasInfix c s) forbiddenChars || lib.elem s keywords then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue