aboutsummaryrefslogtreecommitdiffstats
path: root/.ycm_extra_conf.py
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-20 06:22:42 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-20 06:22:42 +0000
commitb94ad94734636bb586bf7f1c1232ada7d773022d (patch)
treed91419270dd8e54a8ca4a720080a9434459d33ae /.ycm_extra_conf.py
parentenabled https and http2 (diff)
downloadmdrtl-b94ad94734636bb586bf7f1c1232ada7d773022d.tar.gz
mdrtl-b94ad94734636bb586bf7f1c1232ada7d773022d.zip
removed useless ycm config
Diffstat (limited to '.ycm_extra_conf.py')
-rwxr-xr-x.ycm_extra_conf.py46
1 files changed, 0 insertions, 46 deletions
diff --git a/.ycm_extra_conf.py b/.ycm_extra_conf.py
deleted file mode 100755
index fe5fc5c..0000000
--- a/.ycm_extra_conf.py
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/usr/bin/env python
-
-
-# def getClassPath() -> list:
-# import subprocess
-# import sys
-
-# proj_root = sys.argv[0][0 : sys.argv[0].rfind("/")]
-# CMD = [proj_root + "/gradlew", "properties"]
-# cp = subprocess.run(CMD, capture_output=True)
-# lines = cp.stdout.decode("utf-8").split("\n")
-# for line in lines:
-# if line.find("ClassPath") > 0:
-# bin = line.find("bin") + 2
-# bin_beg = line.find("[", bin)
-# bin_end = line.find("]", bin_beg)
-# src = line.find("src") + 2
-# src_beg = line.find("[", src)
-# src_end = line.find("]", src_beg)
-# # print(line[bin_beg + 1 : bin_end])
-# # print(line[src_beg + 1 : src_end])
-# return [line[bin_beg + 1 : bin_end], line[src_beg + 1 : src_end]]
-
-
-# paths = getClassPath()
-# print(paths)
-
-
-def Settings(**kwargs):
- if kwargs["language"] == "java":
- return {
- "ls": {
- "java.import.gradle.enabled": True,
- "java.import.gradle.offline.enabled": True,
- "java.import.gradle.wrapper.enabled": True,
- "java.maven.downloadSources": True,
- "java.import.maven.enabled": True,
- "java.signatureHelp.enabled": True,
- "java.rename.enabled": True,
- "java.eclipse.downloadSources": True,
- "java.project.sourcePaths": "/home/devi/.gradle/caches/modules-2/files-2.1",
- "extendedClientCapabilities": {
- "classFileContentsSupport": True
- },
- }
- }