/nvim-lua-config

NeoVim with lua configuration

Primary LanguageLua

NeoVim configuration for Modern Web/Mobile Development

Screenshot of NeoVim

Configuring NeoVim for multiple language web development is not an easy task. You have not only to find the right plugin for the job, but you have to set them up in the correct way.

This is a permanent Work In Progress.

If you are interested in the rest of my setup, you can visit my dotfiles repo.

Look at the keymaps and commands files to find out which commands and key maps are available.

Requirements

  • NeoVim at least version 0.5
  • Git
  • (Optional) Stylua for linting of .lua files
  • (Optional) PHPCS and PHPCBF for PHP linting and formatting
  • (Optional) eslint_d for faster JavaScript linting and diagnostics
  • (Optional) markdownlint-cli for markdown formatting and linting

NPM commands

There is a pacakge.json file with commands for linting and formtting the code:

  • npm run lint will show any lintin errors on the markdown and lua files
  • npm run format will reformat the markdown and lua files

TODO

  • Configure language server using json instead of lua (allows you to have config per-project)
  • Verify it works on React
  • Format does not work with Guttenberg