{"action":"opened","issue":{"url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/832","repository_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim","labels_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/832/labels{/name}","comments_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/832/comments","events_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/832/events","html_url":"https://github.com/autozimu/LanguageClient-neovim/issues/832","id":453514362,"node_id":"MDU6SXNzdWU0NTM1MTQzNjI=","number":832,"title":"LC not detecting and working with Fortran.","user":{"login":"rudrab","id":4639447,"node_id":"MDQ6VXNlcjQ2Mzk0NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/4639447?v=4","gravatar_id":"","url":"https://api.github.com/users/rudrab","html_url":"https://github.com/rudrab","followers_url":"https://api.github.com/users/rudrab/followers","following_url":"https://api.github.com/users/rudrab/following{/other_user}","gists_url":"https://api.github.com/users/rudrab/gists{/gist_id}","starred_url":"https://api.github.com/users/rudrab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudrab/subscriptions","organizations_url":"https://api.github.com/users/rudrab/orgs","repos_url":"https://api.github.com/users/rudrab/repos","events_url":"https://api.github.com/users/rudrab/events{/privacy}","received_events_url":"https://api.github.com/users/rudrab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-06-07T13:28:42Z","updated_at":"2019-06-07T13:28:42Z","closed_at":null,"author_association":"NONE","body":"- Did you upgrade to latest plugin version?\r\n`Yes`\r\n- Did you upgrade to/compile latest binary? Run shell command\r\n  `bin/languageclient --version` to get its version number.\r\n```\r\n~/.vim/bundle/LanguageClient-neovim/bin/languageclient --version\r\nlanguageclient 0.1.146 \r\n```\r\n- (Neovim users only) Did you check output of `:checkhealth LanguageClient`?\r\n- Did you check [troubleshooting]?\r\nYes\r\n[troubleshooting]: https://github.com/autozimu/LanguageClient-neovim/blob/next/INSTALL.md#6-troubleshooting\r\n\r\n## Describe the bug\r\nA clear and concise description of what the bug is.\r\nI am trying it with fortran, with `fortran language server(fortls) `installed using `pip3`. I am expecting it to give completion options for modules etc, defined in the module. \r\n## Environment\r\n- neovim/vim version (`nvim --version` or `vim --version`):\r\n```\r\nvim --version\r\nVIM - Vi IMproved 8.1 (2018 May 18, compiled May 28 2019 11:36:41)\r\nIncluded patches: 1-1413\r\nModified by <bugzilla@redhat.com>\r\nCompiled by <bugzilla@redhat.com>\r\nHuge version without GUI.  Features included (+) or not (-):\r\n```\r\n\r\n- This plugin version (`git rev-parse --short HEAD`):\r\n```\r\ngit rev-parse --short HEAD\r\n3e31d01\r\n```\r\n\r\n- This plugin's binary version (`bin/languageclient --version`):\r\n```\r\n~/.vim/bundle/LanguageClient-neovim/bin/languageclient --version\r\nlanguageclient 0.1.146 \r\n```\r\n- Minimal vimrc content (A minimal vimrc is the smallest vimrc that could\r\n  reproduce the issue. Refer to an example [here][min-vimrc.vim]):\r\n```\r\nset nu\r\nif empty(glob('~/.vim/autoload/plug.vim'))\r\n\t  silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs\r\n\t          \\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim\r\n\t    autocmd VimEnter * PlugInstall --sync | source $MYVIMRC\r\n    endif\r\n    \r\ncall plug#begin('~/.vim/bundle/')\r\nPlug 'autozimu/LanguageClient-neovim', {\r\n\t\t\t\\'branch': 'next', \r\n\t\t\t\\'do': 'bash install.sh', \r\n\t\t\t\\}\r\n\r\ncall plug#end()\r\n\r\naugroup filetype_f90\r\n    autocmd!\r\n    autocmd BufReadPost *.f90 setlocal filetype=fortran\r\naugroup END\r\n\r\n\" Always draw sign column. Prevent buffer moving when adding/deleting sign.\r\nset signcolumn=yes\r\n\r\nlet g:LanguageClient_serverCommands = { \r\n\t\t\t\\'fortran': ['/usr/local/bin/fortls', '--notify_init', '--incrmental_sync', '--autocomplete_no_prefix'], \r\n\t\t\t\\}\r\n\"let $RUST_BACKTRACE = 1\r\nlet g:LanguageClient_loggingLevel = 'INFO'\r\nlet g:LanguageClient_loggingFile =  expand('/tmp/LanguageClient.log')\r\nlet g:LanguageClient_serverStderr = expand('/tmp/LanguageServer.log')\r\n\r\n```\r\n- Language server link and version:\r\nhttps://github.com/hansec/fortran-language-server\r\n\r\n## To Reproduce\r\nSteps to reproduce the behavior:\r\n\r\n1. NB. Fortran is not in sample, So, I am adding a simple hello_world.f90\r\n```\r\n        Program Hello\r\n                use iso  ! Expecting to get option of iso_fortran_env\r\n                write(*,*) \"Hello\"\r\n        End Program Hello\r\n```\r\nAs I said, I am expecting it to show completion option, but there is absolutely nothing.\r\n## Current behavior\r\nNo completion option appears\r\n## Expected behavior\r\nIt should give the completion options defined in fortls\r\n\r\nLanguageClient.log\r\nhttps://paste.fedoraproject.org/paste/31Gus3scjYT8eI711dZnaw \r\n\r\nLanguageServer.log says: `Change request failed for unknown file \"/home/rudra/hello_world.f90\"`\r\n\r\n"}}
{"actor":{"display_login":"rudrab"}}