Skip to content

Commit

Permalink
V2 (#57)
Browse files Browse the repository at this point in the history
Big refactor for v2
  • Loading branch information
adalessa authored Dec 28, 2023
1 parent 8f8a0ea commit 83f282b
Show file tree
Hide file tree
Showing 106 changed files with 2,549 additions and 2,319 deletions.
3 changes: 3 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source_url "https://raw.githubusercontent.com/cachix/devenv/d1f7b48e35e6dee421cfd0f51481d17f77586997/direnvrc" "sha256-YBzqskFZxmNb3kYVoKD9ZixoPXJh1C9ZvTLGFRkauZ0="

use devenv
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/.tests

# Devenv
.devenv*
devenv.local.nix

# direnv
.direnv

# pre-commit
.pre-commit-config.yaml

15 changes: 15 additions & 0 deletions .neoconf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"neodev": {
"library": {
"plugins": [
"plenary.nvim"
]
}
},
"lspconfig": {
"lua_ls": {
"Lua.runtime.version": "LuaJIT",
"Lua.workspace.checkThirdParty": false
}
}
}
299 changes: 73 additions & 226 deletions README.md

Large diffs are not rendered by default.

32 changes: 29 additions & 3 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Ideas

Con telescope mostrar la lista de rutas y al seleccionar, llegar al controllador y al metodo

- source: artisan list
## To implement
- [X] implement api
- [X] implement ui
- [X] implements a command history
- [X] remove bind telescope
- [X] Fix error when route list breaks it slows the heck out of the editor
- [X] order of arguments running command from telescope
- [X] completion for none-ls view('<"">') get all *.balde.php files.
- [X] implement default args | implement as options on the command options
- [X] escape on required args cancel it
- [X] when calling make commands without arguments run it in a popup
- [X] fix bug with `fd` switch from `sync` to proper use
- [X] How to implement checkhealth
- [X] completion route
- [X] detect library use by model show (command -precheck- on picker)
- [X] completion for routes when broken not loading to many making slow the editor
- [X] change the way of versions are being poll
- [X] maybe command for make only where only list commands of make principal laravel ones and open in a popup or how to configure from the command pallete
- [X] completion detect or not quotes
- [X] completion for model fields
- [X] remove completion for models
- [X] replace anonymous function from mapping with dedicated functions to have descriptions
- [X] using the get_type in completion is dangerus. better to replace it with ide-helper
- [X] recipes for ide-helper models and eloquent
- [X] implement watch
- [X] implement alternate file for livewire components `:A`
- [X] extend api .sync and .async with better respons object. maybe create a new object with method for example `.successful()` and `.failed()`
- [X] rework environment
- [X] re-write the readme and translate (not forget fd as dependency) move all info from readme to doc
156 changes: 156 additions & 0 deletions devenv.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
{
"nodes": {
"devenv": {
"locked": {
"dir": "src/modules",
"lastModified": 1696609182,
"narHash": "sha256-PzVHnPnm+aceuQOoE3oExjHSxiLFAEiHFyQb3xXCI1c=",
"owner": "cachix",
"repo": "devenv",
"rev": "bd859ef4b207c2071f5bd3cae2a74f4d3e69c2e2",
"type": "github"
},
"original": {
"dir": "src/modules",
"owner": "cachix",
"repo": "devenv",
"type": "github"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1673956053,
"narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1660459072,
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1696757521,
"narHash": "sha256-cfgtLNCBLFx2qOzRLI6DHfqTdfWI+UbvsKYa3b3fvaA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2646b294a146df2781b1ca49092450e8a32814e1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1685801374,
"narHash": "sha256-otaSUoFEMM+LjBI1XL/xGB5ao6IwnZOXc47qhIgJe8U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c37ca420157f4abc31e26f436c1145f8951ff373",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}
},
"pre-commit-hooks": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"gitignore": "gitignore",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1696846637,
"narHash": "sha256-0hv4kbXxci2+pxhuXlVgftj/Jq79VSmtAyvfabCCtYk=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "42e1b6095ef80a51f79595d9951eb38e91c4e6ca",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"type": "github"
}
},
"root": {
"inputs": {
"devenv": "devenv",
"nixpkgs": "nixpkgs",
"pre-commit-hooks": "pre-commit-hooks"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",
"version": 7
}
25 changes: 25 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ pkgs, ... }:

{
# https://devenv.sh/basics/
env.GREET = "devenv";

# https://devenv.sh/packages/
packages = [ pkgs.git ];

enterShell = ''
git --version
'';

# https://devenv.sh/languages/
# languages.nix.enable = true;

# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks.luacheck.enable = true;
pre-commit.hooks.stylua.enable = true;

# https://devenv.sh/processes/
# processes.ping.exec = "ping example.com";

# See full reference at https://devenv.sh/reference/options/
}
3 changes: 3 additions & 0 deletions devenv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
inputs:
nixpkgs:
url: github:NixOS/nixpkgs/nixpkgs-unstable
9 changes: 9 additions & 0 deletions doc/laravel.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*laravel.txt* Plugin to work with Laravel Framework

Author: Ariel D'Alessandro
Repo: https://github.com/adalessa/laravel.nvim
License: Same terms as Vim itself (see |license|)

Usage *laravel* *:Artisan*

vim:tw=78:et:ft=help:norl:
3 changes: 3 additions & 0 deletions doc/tags
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:Artisan laravel.txt /*:Artisan*
laravel laravel.txt /*laravel*
laravel.txt laravel.txt /*laravel.txt*
4 changes: 0 additions & 4 deletions lua/.luarc.json

This file was deleted.

15 changes: 0 additions & 15 deletions lua/laravel/_autocommands.lua

This file was deleted.

90 changes: 0 additions & 90 deletions lua/laravel/_config.lua

This file was deleted.

Loading

0 comments on commit 83f282b

Please sign in to comment.