Created
April 23, 2019 20:50
-
-
Save daGrevis/f5bde28a792641f3ed15ed9fcfdafca2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call coc#config('coc.preferences', { | |
\ 'suggest.enablePreview': 1, | |
\ 'diagnostic.errorSign': 'E', | |
\ 'diagnostic.warningSign': 'W', | |
\ 'diagnostic.infoSign': 'I', | |
\ 'diagnostic.hintSign': 'H', | |
\ 'eslint.packageManager': 'yarn', | |
\ 'eslint.filetypes': ['javascript', 'javascriptreact', 'typescript'], | |
\ 'javascript.suggest.enabled': 1, | |
\ }) | |
call coc#config('tsserver', { | |
\ 'enableJavascript': 0, | |
\ }) | |
call coc#config('languageserver.flow', { | |
\ 'command': './node_modules/.bin/flow', | |
\ 'args': ['lsp'], | |
\ 'filetypes': ['javascript', 'javascriptreact'], | |
\ 'initializationOptions': {}, | |
\ 'requireRootPattern': 1, | |
\ 'settings': {}, | |
\ 'rootPatterns': ['.flowconfig'] | |
\ }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment