vimf90 icon indicating copy to clipboard operation
vimf90 copied to clipboard

LSP example configuration incorrect syntax

Open RedHatTurtle opened this issue 2 years ago • 0 comments

This part of the example has a few missing commas and a missing closing curly bracket

let g:coc_user_config = {
      \   'languageserver': {
      \     'fortran': {
      \       'command': '${HOME}/.local/bin/fortls',
      \       'args': ['--lowercase_intrinsics'],
      \       'filetypes': ['fortran'],
      \       'rootPatterns': ['.fortls', '.git/'],
      \     }
      }

The correct snipet would be

let g:coc_user_config = {
      \   'languageserver': {
      \     'fortran': {
      \       'command': '${HOME}/.local/bin/fortls',
      \       'args': ['--lowercase_intrinsics'],
      \       'filetypes': ['fortran'],
      \       'rootPatterns': ['.fortls', '.git/'],
      \     },
      \   },
      }

RedHatTurtle avatar Nov 16 '22 14:11 RedHatTurtle