Skip to content

Commit

Permalink
Config for pyright language server
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Mar 20, 2021
1 parent 6a24a17 commit 842d9fb
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .ycm_extra_conf.py
Expand Up @@ -42,7 +42,17 @@ def Settings( **kwargs ):
return {
'sys_path': [
p.join( PATH_TO_THIS_DIR, 'python3' )
]
],
'ls': {
'python': {
'analysis': {
'extraPaths': [
p.join( PATH_TO_THIS_DIR, 'python3' ),
],
'useLibraryCodeForTypes': True
}
}
}
}

if IgnoreExtraConf:
Expand Down

0 comments on commit 842d9fb

Please sign in to comment.