-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using Nvim with Fortls, the #include sapmle.inc hover or go to definition not act
Config file
.fortlsrcfile in the root of the project
{
"source_dirs": ["./**"],
"incl_suffixes": ["inc"],
"pp_suffixes": ["inc"],
"include_dirs": ["include","src"]
}Project Structure
/Solution/src/src_sub/a.F90
/Solution/include/sample.inc
inside a.F90 I have
#include "sample.inc"
Expected behavior
- hover may show the sample.inc file content
- gd to go to the
sample.incfile
while I'm not sure whether fortls supports these feature for include files
Message from Inspect
Syntax
- cInclude links to PreProc
- cIncluded links to StringSetup information
- OS: Linux
- fortls Version [e.g. 3.2.2]
- Code editor used [e.g.Nvim]
- Lsp plugin with mason plugin to installed the fortls
Thanks for the amazing project, I transfer from Visual Studio to Nvim because of the convenience of fortls.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working