aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/util.lua
diff options
context:
space:
mode:
authorTörök Edwin <edwintorok@users.noreply.github.com>2022-05-03 00:41:12 +0100
committerGitHub <noreply@github.com>2022-05-02 16:41:12 -0700
commitcc48a46524c7f80b5e203c1aab58826cdb4e5df1 (patch)
tree211c782eae00dec545013bbf5c0cc961026006ee /lua/lspconfig/util.lua
parentdocs: update README (diff)
downloadnvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar.gz
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar.bz2
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar.lz
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar.xz
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.tar.zst
nvim-lspconfig-cc48a46524c7f80b5e203c1aab58826cdb4e5df1.zip
ocamllsp: add support for the dune filetype (#1884)
* ocamllsp: add dune as supported language ocaml-lsp-server-1.11.3 enables 'dune' rpc integration (you need a running `dune build --watch` command which provides the RPC server). This allows to reformat `dune` files, and to see `dune` and other build errors as soon as you change a file (e.g. quite useful on newly created files which would otherwise show an LSP error until first build). Signed-off-by: Edwin Török <edwin@etorok.net> * ocamllsp: dune-project and dune-workspace also mark roots Although most dune projects will also have a *.opam file, this file might be generated by the build system. Newer versions of dune have a dune-project file to mark the root though, and users can create a dune-workspace file as well. Note that `dune` files themselves do NOT mark the root: they can be present in subdirs too. The rules on how `dune` itself finds the root are documented here: https://dune.readthedocs.io/en/stable/usage.html#finding-the-root "The root of the current workspace is determined by looking up a dune-workspace or dune-project file in the current directory and its parent directories. Dune requires at least one of these two files to operate." Signed-off-by: Edwin Török <edwin@etorok.net>
Diffstat (limited to 'lua/lspconfig/util.lua')
0 files changed, 0 insertions, 0 deletions