-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from barreiroleo/new_config
feat: ltex_extra now can call LTeX server
- Loading branch information
Showing
17 changed files
with
308 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Initial flow | ||
|
||
Generated with [Diagon](https://arthursonzogni.com/Diagon/#Flowchart) | ||
|
||
``` | ||
"START"; | ||
if("Should be load ltex?"){ | ||
if("Ltex is running?"){ | ||
"Load ltex from lspconfig"; | ||
} | ||
else{ | ||
"Alert ltex already running"; | ||
} | ||
} | ||
else{ | ||
"Load plugins opts and attach to a running ltex instance" | ||
} | ||
"END"; | ||
``` | ||
|
||
``` | ||
┌─────┐ | ||
│START│ | ||
└──┬──┘ | ||
_________▽__________ ________________ ┌──────────────┐ | ||
╱ ╲ ╱ ╲ │Load ltex from│ | ||
╱ Should be load ltex? ╲___╱ Ltex is running? ╲___│lspconfig │ | ||
╲ ╱yes╲ ╱yes└───────┬──────┘ | ||
╲____________________╱ ╲________________╱ │ | ||
│no │no │ | ||
┌──────────────▽─────────────┐ ┌───────▽───────┐ │ | ||
│Load plugins opts and attach│ │Alert ltex │ │ | ||
│to a running ltex instance │ │already running│ │ | ||
└──────────────┬─────────────┘ └───────┬───────┘ │ | ||
└────────────┬───────────┴─────────────────────┘ | ||
┌─▽─┐ | ||
│END│ | ||
└───┘ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Sequence | ||
`cat architecture.md | plantuml_asci` | ||
|
||
@startuml | ||
nvim -> ltex_extra : load | ||
ltex_extra -> nvim : is ltex running? | ||
nvim -> ltex_extra : ltex status | ||
ltex_extra -> ltex : start | ||
@enduml | ||
|
||
┌────┐ ┌──────────┐ ┌────┐ | ||
│nvim│ │ltex_extra│ │ltex│ | ||
└─┬──┘ └────┬─────┘ └─┬──┘ | ||
│ load │ │ | ||
│ ─────────────────> │ | ||
│ │ │ | ||
│ is ltex running? │ │ | ||
│ <───────────────── │ | ||
│ │ │ | ||
│ ltex status │ │ | ||
│ ─────────────────> │ | ||
│ │ │ | ||
│ │ start │ | ||
│ │ ─────────────────> | ||
┌─┴──┐ ┌────┴─────┐ ┌─┴──┐ | ||
│nvim│ │ltex_extra│ │ltex│ | ||
└────┘ └──────────┘ └────┘ | ||
|
||
@startuml | ||
nvim -> ltex_extra : load | ||
ltex_extra -> nvim : is ltex running? | ||
nvim -> ltex_extra : ltex status | ||
ltex_extra -> ltex : ltex is already running | ||
@enduml | ||
|
||
┌────┐ ┌──────────┐ ┌────┐ | ||
│nvim│ │ltex_extra│ │ltex│ | ||
└─┬──┘ └────┬─────┘ └─┬──┘ | ||
│ load │ │ | ||
│ ─────────────────> │ | ||
│ │ │ | ||
│ is ltex running? │ │ | ||
│ <───────────────── │ | ||
│ │ │ | ||
│ ltex status │ │ | ||
│ ─────────────────> │ | ||
│ │ │ | ||
│ │ ltex is already running│ | ||
│ │ ───────────────────────> | ||
┌─┴──┐ ┌────┴─────┐ ┌─┴──┐ | ||
│nvim│ │ltex_extra│ │ltex│ | ||
└────┘ └──────────┘ └────┘ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.