Git Product home page Git Product logo

nvim-config's Introduction

๐Ÿ’ค LazyVim + Laravel

This is my best effort to fully integrate my LazyVim config with Laravel and all Laravel-related tools. Functional Volt works, too, but has issues with $this.

A starter template for LazyVim. Refer to the documentation to get started.

Laravel Native

This config is setup with the best available dev tooling for laravel

  • Intelephense
  • Blade Language Support
  • Blade Formatter
  • Pint
  • Phpstan (make sure you configure larastan in your project)
  • Rustywind
  • Tailwind LS
  • XDebug with configuration for Laravel Sail
  • Treesitter beta for blade files included

Git integrations

Requirements

If you encounter an issue with Intelephense not recognising facade or model function calls, you will need to install Laravel IDE Helper into your project and execute the relevant artisan commands. Thanks to @ermand for bringing up the issue as well as the solution.

Make sure you install all TreeSitter parsers by doing: :TSInstall all and :TSInstall php_only. This will install both the experimental blade parser, for which configuration is included in this config, as well as the php_only parser, which is needed for it to work fully. For some reason php_only is not included in all.

Optional:

  • lazygit
  • lazydocker

(you should use both, they are great)

LSP

  • Tailwind support
  • Intelephense for php (best in class for Laravel development)

Theme

  • I concede, we are back to using catppuccin. There is just too many integrations.

Troubleshooting

If opening a py file leads to pyright analyzing your whole library, make sure to add an empty pyrightconfig.json into the file root. This can be your $HOME folder or for example on darwin using homebrew it could be /opt/homebrew/.

Config Refs

-BarbaricLazyVim - LazyVim Config

nvim-config's People

Contributors

auxcoder avatar

Watchers

 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.