Giter VIP home page Giter VIP logo

neovim-ide's Introduction

neovim as an IDE

My ๐Ÿ’ neovim setup as an IDE.

Table of Contents

  1. Install
  2. Screenshots
  3. Manage Plugins
  4. Manage LSP Servers
  5. Used Plugins

Install

This will install neovim with helpful dependencies not automatically pulled.

./install.sh

init.lua contains import path to different specialized configuration files.

First run

If packer.nvim does not automatically install the required packages, run:

:PackerInstall

Then restart nvim.

To install LSP servers and Treesitter language parsers:

:LspInstall sumneko_lua
:LspInstall bashls
:LspInstall ltex
:TSInstall lua
:TSInstall bash
:TSInstall markdown

Screenshots

overview diagnostics markdown rendering fuzzy search auto-completion

Manage Plugins

This configuration uses wbthomason/packer.nvim to manage plugins.

As nvim commands:

"" You must run this or `PackerSync` whenever you make changes to your plugin configuration
"" Regenerate compiled loader file
:PackerCompile

"" Remove any disabled or unused plugins
:PackerClean

"" Clean, then install missing plugins
:PackerInstall

"" Clean, then update and install plugins
:PackerUpdate

"" Perform `PackerUpdate` and then `PackerCompile`
:PackerSync

Manage LSP Servers

This configuration uses williamboman/nvim-lsp-installer to manage LSP servers.

As nvim commands:

:LspInstall

Depending on the filetype used in the current buffer, you will be given a choice of servers to install.

Make sure to configure lspconfig properly first by indicating the path to the server's binary file, if it is not present in your path:

local nvim_data_path = os.getenv("HOME") .. "/.local/share/nvim/lsp_servers/"
require('lspconfig')['ltex'].setup {
  cmd = {  nvim_data_path .. "ltex/ltex-ls-15.2.0/bin/ltex-ls" }
}

Used Plugins

  • Plugin Management
    • packer.nvim
  • LSP
    • nvim-lspconfig
    • nvim-lsp-installer
  • Completion
    • nvim-cmp
    • vim-vsnip
    • cmp-cmdline
    • cmp-path
    • cmp-buffer
    • cmp-nvim-lsp
    • nvim-lspconfig
  • Dashboard
    • alpha-nvim
  • Project Management
    • project.nvim
    • todo-comments
  • Rendering
    • glow.nvim for markdown
  • Diagnostics
    • trouble.nvim
  • Register
    • registers.nvim
  • Git
    • fugitive
    • vim-gitgutter
  • Fuzzy search
    • fzf-lua
  • Edition
    • numToStr/Comment.nvim
    • nvim-autopairs
    • indent-blankline.nvim
  • Buffers
    • vim-bufkill
    • bufferline.nvim
  • File Explorer
    • nvim-tree.lua
  • Fonts
    • nvim-web-devicons
  • Status Line
    • lualine.nvim
  • Color Scheme
    • nightfox.nvim
  • Configuration Helper
    • vimpeccable
    • nvim-whichkey-setup.lua

neovim-ide's People

Contributors

tanael avatar

Stargazers

Shuwen Sun avatar

Watchers

James Cloos avatar  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.