Code Monkey home page Code Monkey logo

nvim_config's Introduction

nvim_config

  • Default setup :
    • Windows 10

Installation sequence

For Windows

  1. mason.nvim
    1. pwsh
    2. git
    3. GNU tar
    4. 7zip
  2. unzip
  3. wget
  4. curl
  5. gzip
  6. tar
  7. bash
  8. sh

For Ubuntu 22.04

  1. mason.nvim
    1. git : default
    2. curl : default
    3. wget : default
    4. unzip : default
    5. tar or gtar : default
    6. gzip : default
    7. python3 : sudo apt-get install -y python3 (it may be installed 3.10.6 version by default)
    8. pip/pip3 : sudo apt-get install -y python3-pip
    9. luarocks : sudo apt-get install -y luarocks
    10. npm : sudo apt-get install -y nodejs npm (v12.22.9 TLS)
  2. nvim-treesitter.nvim
    1. tree-sitter
    2. node : sudo apt-get install -y nodejs
    3. git
    4. gcc : sudo apt-get install -y build-essential
  3. provider
    1. python3 provider :
      • install python-venv : sudo apt-get install -y python3-venv
      • activate venv : source ~/.config/.Nvim_venv/bin/activate
      • install neovim : pip install neovim in venv (pynvim is installed automatically)
      • If you want to execute nvim in python virtualenv, run nvim after activate venv
    2. nodejs provider :
      • apt install old v12.22.9 and neovim package requires >= v14
        • use nvm instead of apt for newer version of nodejs
      • install nvm : curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
        • it will add $NVM_DIR in .zshrc
        • execute .zshrc : source ~/.zshrc
      • show which version can be used : nvm list-remote
      • show which version installed : nvm list
      • install nodejs & npm : nvm install v20.14.0 (npm v10.7.0 will be installed automatically)
      • install neovim from npm : npm install -g neovim ( confirm global installed packages with npm -g ls )

queries

1. Rainbow Delimiters for matlab

Delimiter file for matlab was written in nvim_config/query/rainbow-delimiters.nvim/matlab/ and it can be used in HiPhish/rainbow-delimiters.nvim
To use, follow these step

  1. Add matlab query directory to nvim-data/lazy/rainbow-delimiters.nvim/queries

2. nvim-treesitter-endwise for matlab

I'm making endwise file for matlab in nvim_config/query/nvim-treesitter-endwise/matlab/
(In Proceeding)

3. Luasnip for matlab

I'm making snippet file for matlab in nvim_config/queries/friendly-snippets/matlab/ using friendly-snippets,
These steps will operate automatically later, every update of github repository or I'll find other ways

  1. Add matlab query directory to nvim-data/lazy/friendly-snippets/snippets
  2. Add this code in nvim-data/lazy/friendly-snippets/package.json
{
    "language": ["matlab"],
    "path": "./snippets/matlab/matlab.json"
},

(In Proceeding)

nvim_config's People

Watchers

Jaehaks 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.