this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

GraphQL nvim

+2 -1
+2 -1
nvim/init.vim
··· 42 42 43 43 -- Filetypes 44 44 vim.cmd('au BufEnter *.nix :set ft=nix') 45 + vim.cmd('au BufEnter *.graphql :set ft=graphql') 45 46 46 47 -- Keybindings 47 48 local nvim_lsp = require('lspconfig') ··· 144 145 buf_set_keymap('n', '<leader>ff', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts) 145 146 end 146 147 147 - local servers = {'gopls', 'rls', 'tsserver', 'hie', 'rnix'} 148 + local servers = {'gopls', 'rls', 'tsserver', 'hie', 'rnix', 'graphql'} 148 149 for _, lsp in ipairs(servers) do 149 150 nvim_lsp[lsp].setup { 150 151 on_attach = on_attach,