How do I achieve JavaScript code completition with nvim-cmp and Mason ?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • lazy.nvim

    💤 A modern plugin manager for Neovim

  • ``` local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, }) end vim.opt.rtp:prepend(lazypath)

  • nvim-cmp

    A completion plugin for neovim coded in Lua.

  • How do you get it? Well, actually if you press CTRL + n you will get a built in completion window. However, the little popup box that follows each letter that you're used to in other IDEs is not standard out of the box with neovim, you need to install a completion plugin. Most people use https://github.com/hrsh7th/nvim-cmp.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • Not a stupid question, in lua when you require a file, what you're essentially doing is getting a whole table back with methods on it. Nvim-lspconfig has a bunch of server configs already predefined, here's the list

  • typescript-language-server

    TypeScript & JavaScript Language Server

  • Use mason to install tsserver, or directly install it on your computer following typescript-language-server. Note that your javascript's ls is powered by tsserver not eslint since eslint is a linter, not a ls.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to survive without multiple cursors in vim

    4 projects | dev.to | 4 Feb 2023
  • LSP is not working

    3 projects | /r/neovim | 11 Nov 2022
  • jdtls debugging "Could not resolve java executable: Index 1 out of bounds for length 1"

    1 project | /r/neovim | 21 Nov 2023
  • Need help to set up the pbkit language server

    2 projects | /r/neovim | 21 Sep 2023
  • Option omnifunc is not set

    1 project | /r/neovim | 31 Aug 2023