Fix python LSP
This commit is contained in:
		
							parent
							
								
									e2505ecfc8
								
							
						
					
					
						commit
						e99f6129db
					
				| @ -37,6 +37,73 @@ | ||||
|       // custom config path | ||||
|       //"args": ["-c", "/home/jule/.config/efm-langserver/config.yaml"], | ||||
|       "filetypes": ["vim"] | ||||
|     }, | ||||
|     "python": { | ||||
|         "command": "python", | ||||
|         "args": [ | ||||
|           "-mpyls", | ||||
|           "-vv", | ||||
|           "--log-file", | ||||
|           "/tmp/lsp_python.log" | ||||
|         ], | ||||
|         "trace.server": "verbose", | ||||
|         "filetypes": [ | ||||
|           "python" | ||||
|         ], | ||||
|         "settings": { | ||||
|           "pyls": { | ||||
|             "enable": true, | ||||
|             "trace": { | ||||
|               "server": "verbose" | ||||
|             }, | ||||
|             "commandPath": "", | ||||
|             "configurationSources": [ | ||||
|               "pycodestyle" | ||||
|             ], | ||||
|             "plugins": { | ||||
|               "jedi_completion": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "jedi_hover": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "jedi_references": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "jedi_signature_help": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "jedi_symbols": { | ||||
|                 "enabled": true, | ||||
|                 "all_scopes": true | ||||
|               }, | ||||
|               "mccabe": { | ||||
|                 "enabled": true, | ||||
|                 "threshold": 15 | ||||
|               }, | ||||
|               "preload": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "pycodestyle": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "pydocstyle": { | ||||
|                 "enabled": false, | ||||
|                 "match": "(?!test_).*\\.py", | ||||
|                 "matchDir": "[^\\.].*" | ||||
|               }, | ||||
|               "pyflakes": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "rope_completion": { | ||||
|                 "enabled": true | ||||
|               }, | ||||
|               "yapf": { | ||||
|                 "enabled": true | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|   }, | ||||
|   "coc.preferences.hoverTarget": "float", | ||||
|  | ||||
							
								
								
									
										2
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								vimrc
									
									
									
									
									
								
							| @ -84,7 +84,7 @@ Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile', 'for': [' | ||||
| " Plug 'neoclide/coc-rls', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']} | ||||
| Plug 'fannheyward/coc-rust-analyzer', {'do': 'yarn install --frozen-lockfile', 'for': ['rust']} | ||||
| Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell', 'rust', 'sh']} | ||||
| Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile', 'for': ['python']} | ||||
| " Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile', 'for': ['python']} | ||||
| "Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile', 'for': ['haskell']} | ||||
| Plug 'neoclide/coc-json', {'do': 'yarn install --frozen-lockfile', 'for': ['json']} | ||||
| " Plug 'neoclide/coc-eslint', {'do': 'yarn install --frozen-lockfile', 'for': ['']} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user