File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 4
4
"suggest.timeout" : 500 ,
5
5
"suggest.minTriggerInputLength" : 2 ,
6
6
"suggest.echodocSupport" : true ,
7
- "suggest.enablePreview" : true
7
+ "suggest.enablePreview" : false
8
8
}
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ function leetcode_ins(){
16
16
}
17
17
18
18
function python_ins(){
19
- echo " python ins"
19
+ ! ( grep -F " python.linting.enabled" ~ /.config/nvim/coc-settings.json ) && \
20
+ sed -i ' /suggest.timeout/i "python.linting.enabled": false,' ~ /.config/nvim/coc-settings.json
20
21
}
21
22
function java_ins(){
22
23
echo " java ins"
@@ -164,6 +165,10 @@ if [ "Y$OPT_JAVA" == "Yyes" ];then
164
165
nvim " +CocInstall -sync coc-java" +qall
165
166
fi
166
167
168
+ if [ " Y$OPT_PYTHON " == " Yyes" ]; then
169
+ nvim " +CocInstall -sync coc-python" +qall
170
+ fi
171
+
167
172
! which ctags > /dev/null && \
168
173
git clone https://github.com/universal-ctags/ctags.git && \
169
174
cd ctags && ./autogen.sh && ./configure && make && make install && \
You can’t perform that action at this time.
0 commit comments