日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

Linux-使用之vim出现的问题

發(fā)布時間:2023/12/10 linux 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Linux-使用之vim出现的问题 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

參考來源: https://stackoverflow.com/questions/47667119/ycm-error-the-ycmd-server-shut-down-restart-wit-the-instructions-in-the-docu //問題2
https://github.com/yangyangwithgnu/use_vim_as_ide/blob/master/README.md#8.4 //問題3
問題2:安裝好vim后打開vim出現(xiàn)錯誤信息
錯誤信息:The ycmd server SHUT DOWN (restart with...the instructions in the documentation
解決步驟:使用:YcmDebugInfo comes back with "Server errored, no debug info from server".
cd ~/.vim/bundle/YouCompleteMe and ran python install.py // 提示ERROR: Unable to find executable 'cmake'. CMake is required to build ycmd
sudo apt install cmake
//以上命令讓系統(tǒng)做了什么
/* Built target ycm_core
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works

  • - Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Detecting C compile features-- Detecting C compile features - done-- Found PythonLibs: /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu/libpython3.6.so (found version "3.6.6") -- Configuring done-- Generating done-- Build files have been written to: /tmp/regex_build_82orenjb

    問題3:markdown實時顯示出現(xiàn)問題
    vim必須繼承ruby解釋器(源碼安裝編輯器vim),
    sudo gem intall pygments.rb // 安裝pygments.rb依賴庫
    提示 gem:command not found
    sudo apt-get install ruby // 安裝ruby,以便執(zhí)行g(shù)em命令
    sudo gem install redcarpet // 安裝redcarpet依賴庫
    提示 ERROR: Error installing redcarpet:
    ERROR: Failed to build gem native extension.
    current directory: /var/lib/gems/2.5.0/gems/redcarpet-3.4.0/ext/redcarpet
    /usr/bin/ruby2.5 -r ./siteconf20181111-16728-1ylk41o.rb extconf.rb
    mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
    extconf failed, exit code 1

    sudo gem update --system // 解決安裝redcarpet依賴庫出現(xiàn)錯誤的問題gem install redcarpet --platform=ruby --verbosemkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.hERROR: Error installing redcarpet:ERROR: Failed to build gem native extension.Building has failed. See above output for more information on the failure.extconf failed, exit code sudo apt-get install ruby-dev

轉(zhuǎn)載于:https://www.cnblogs.com/jllin/p/9941347.html

總結(jié)

以上是生活随笔為你收集整理的Linux-使用之vim出现的问题的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。