Skip to content

Commit

Permalink
neovim: Add meson.build at the end of the root pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
traxys authored and boyerq committed Nov 25, 2024
1 parent 7b397f8 commit b3c86de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion neovim/lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,13 @@
# bitbake_ls.enable = true;
# TODO: Find a package
# ginko_ls.enable = true;
mesonlsp.enable = true;
mesonlsp = {
enable = true;
rootDir = # lua
''
require'lspconfig.util'.root_pattern('meson_options.txt', 'meson.options', '.git', 'meson.build')
'';
};
yamlls.enable = true;
harper_ls.enable = true;
ltex = {
Expand Down

0 comments on commit b3c86de

Please sign in to comment.