Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Need help with configuration #952

Open
AlphabetsAlphabets opened this issue Oct 6, 2023 · 0 comments
Open

Question: Need help with configuration #952

AlphabetsAlphabets opened this issue Oct 6, 2023 · 0 comments

Comments

@AlphabetsAlphabets
Copy link

Hi, sorry, I have no idea where else to ask a question so I'll paste it here. I use meson for my projects and I saw in the docs that I need to change the init options for compilationDatabaseDirectory and so I did it like this.

      lspconfig.ccls.setup {
        init_options = {
          compilationDatabaseDirectory = "build"
        }
      }

However, this does not work. I also tried

compilationDatabaseDirectory = "build/compile_commands.json",

This also does not work. This is my project structure.

.
├── build
│  ├── .ccls-cache
│  ├── .gitignore
│  ├── .hgignore
│  ├── .ninja_deps
│  ├── .ninja_log
│  ├── anything
│  ├── anything.p
│  ├── build.ninja
│  ├── compile_commands.json
│  ├── meson-info
│  ├── meson-logs
│  └── meson-private
├── main.c
└── meson.build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant