Closed goodpaperman closed 1 year ago
what's the type of the file? efm
only provide format/lint function. You need to use :Mason
to install lsp on your own.
https://github.com/ayamir/nvimdots/wiki/Prerequisites#tools-for-plugins
mason show following errors:
wget version:
$ wget --version
GNU Wget 1.14 built on linux-gnu.
+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl
Wgetrc:
/etc/wgetrc (system)
Locale: /usr/share/locale
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
-DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
Link: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -lssl -lcrypto
/usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so
-ldl -lz -lz -lidn -luuid -lpcre ftp-opie.o openssl.o http-ntlm.o
../lib/libgnu.a
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.
need update?
obviously you need a higher version wget
upgrade wget to 1.21, lua-lang-server download & install ok, but clangd still failed:
can I pre-download this package and put it to the right place to avoid wget downloading ?
Maybe, the download destination is here.
it works:
mason now has only 1 problem: MasonInstall clang-format failed, see detail above
try pip3 install wheel
no effect:
upgrade python 3.6.8 to 3.8,module wheel can find now, but compile still failed:
maybe you can install clang-format
manually too...
from error message: "Host GCC version must be at least 5.1, your version is 4.8.5"
it seems gcc need a upgrade, that is a big project, can I indicate a lower version of clang-format to walk aroud gcc upgrade ?
clang-format runs ok:
and installed ok after restart nvim:
Neovim version
NVIM v0.8.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3
Operating system/version
CentOS Linux release 7.9.2009 (Core)
Terminal name/version
GNU bash, version 4.2.46
$TERM environment variable
xterm-256color
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
gD on function
Expected behavior
jump to function definition
Actual behavior
popup an error
Additional information
efm-langserver installed already