Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/felippepuhle/coc-graphql

GraphQL Language Service extension for coc.nvim
https://github.com/felippepuhle/coc-graphql

Last synced: about 2 months ago
JSON representation

GraphQL Language Service extension for coc.nvim

Awesome Lists containing this project

README

        

# coc-graphql

[GraphQL Language Service](https://github.com/graphql/graphiql) extension for [coc.nvim](https://github.com/neoclide/coc.nvim).

## Deprecation warning

Package not needed, please use the LSP directly via [CoC configuration](https://github.com/neoclide/coc.nvim/wiki/Language-servers\#graphql)

## Install

1. Add [vim-graphql](https://github.com/jparise/vim-graphql)

2. In your vim/neovim, run command:

```
:CocInstall coc-graphql
```

3. Add a valid [graphql-config](https://github.com/kamilkisiela/graphql-config) file in the project root.

## Configuration options

- `graphql.debug` - (default: `false`)
- `graphql.filetypes` - (default: `['graphql', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'reason']`)
- `graphql.watcherPattern` - (default: `"**/*.{graphql,gql,js,jsx,ts,tsx,re}"`)

## License

MIT