Code Monkey home page Code Monkey logo

nvim's Introduction

Run Packer

In a nvim session:

:PackerInstall

Treesitter setup

Wait for Treesitter to download and compile the parsers, It should happen automatically the first time you open the nvim session. If it doesn't start automatically force it with:

:TSupdate

Install Language servers

C/C++

sudo pamac install llvm

MacOS: you might have to add export PATH=$PATH:/usr/local/opt/llvm/bin/ to your shell config file.

python

npm i -g pyright

bash

npm i -g bash-language-server

Docker

npm i -g docker-language-server-nodejs

R

in an R session:

install.packages('languageserver')

Lua

git submodule update --init --recursive
cd lua-language-server/3rd/luamake
./compile/install.sh
cd ../..
./3rd/luamake/luamake rebuild

Latex

You need TexLive and latexmk in your PATH. install the rust cargo:

remember to add ~/.cargo/bin/ directory to your PATH.

cargo install --git https://github.com/latex-lsp/texlab.git --locked

Most likely the luaindent command will not work out of the box: Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module).......... You might need to run this:

sudo cpan Unicode::GCString
sudo cpan App::cpanminus
sudo cpan YAML::Tiny
sudo perl -MCPAN -e 'install "File::HomeDir"'

On MacOS follow zathura installation steps outlined in vimtex manual :h vimtex-faq-zathura-macos

Telescope speed improvement

  • Install fd for better file finding
  • Install ripgrep to enable live_grep functionality
pamac install fd ripgrep

Install debuggers

C/C++ and Rust

nvim-dap is set up to use /usr/bin/lldb-vscode, you have to adjust it as needed in base of your llvm installation (it should come with it). It might be in a different location or have a slightly different name like lldb-vscode-XX, XX being a two digits number. MacOS could not have it in PATH.

python

mkdir .virtualenvs
cd .virtualenvs
python -m venv debugpy
debugpy/bin/python -m pip install debugpy

nvim's People

Contributors

andy941 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.