svn commit: r494299 - in head/editors/kak-lsp: . files
Tobias Kortkamp
tobik at FreeBSD.org
Fri Mar 1 14:55:04 UTC 2019
Author: tobik
Date: Fri Mar 1 14:55:02 2019
New Revision: 494299
URL: https://svnweb.freebsd.org/changeset/ports/494299
Log:
editors/kak-lsp: Suggest disabling completion.detailedLabel in ccls
Modified:
head/editors/kak-lsp/Makefile
head/editors/kak-lsp/files/patch-kak-lsp.toml
Modified: head/editors/kak-lsp/Makefile
==============================================================================
--- head/editors/kak-lsp/Makefile Fri Mar 1 14:44:02 2019 (r494298)
+++ head/editors/kak-lsp/Makefile Fri Mar 1 14:55:02 2019 (r494299)
@@ -3,7 +3,7 @@
PORTNAME= kak-lsp
DISTVERSIONPREFIX= v
DISTVERSION= 6.0.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= editors
MAINTAINER= tobik at FreeBSD.org
Modified: head/editors/kak-lsp/files/patch-kak-lsp.toml
==============================================================================
--- head/editors/kak-lsp/files/patch-kak-lsp.toml Fri Mar 1 14:44:02 2019 (r494298)
+++ head/editors/kak-lsp/files/patch-kak-lsp.toml Fri Mar 1 14:55:02 2019 (r494299)
@@ -1,6 +1,6 @@
--- kak-lsp.toml.orig 2019-01-14 07:08:28 UTC
+++ kak-lsp.toml
-@@ -52,11 +52,16 @@ filetypes = ["python"]
+@@ -52,11 +52,22 @@ filetypes = ["python"]
roots = ["requirements.txt", "setup.py", ".git", ".hg"]
command = "pyls"
@@ -17,10 +17,16 @@
-args = ["--init={\"cacheDirectory\":\"/tmp/cquery\"}"]
+roots = ["compile_commands.json", ".ccls", ".git"]
+command = "ccls"
++# With completion.detailedLabel turned on ccls embeds type
++# signatures and other metadata in completion entries. Kak-lsp
++# does not filter them, so they appear alongside the selected entry,
++# which is not very convenient. It is recommended that you disable
++# it.
++args = ["--init={\"completion\":{\"detailedLabel\":false}}"]
[language.haskell]
filetypes = ["haskell"]
-@@ -64,11 +69,17 @@ roots = ["Setup.hs", "stack.yaml", "*.cabal"]
+@@ -64,11 +75,17 @@ roots = ["Setup.hs", "stack.yaml", "*.cabal"]
command = "hie"
args = ["--lsp"]
More information about the svn-ports-head
mailing list