Commit graph

194 commits

Author SHA1 Message Date
Abouzar Parvan
b26b61e304
fix nil exception for langs without providers (#1290) 2021-08-11 14:50:01 +04:30
Abouzar Parvan
44e43e225b
remove the violent message for provider not found (#1283) 2021-08-10 22:17:24 +04:30
kylo252
405423108f
feat: Add an async logger using plenary (#1207)
Co-authored-by: rebuilt <memoryman51@hotmail.com>
2021-08-09 19:02:37 +02:00
kylo252
6b98bc1378 avoid using smart_cwd if root_dir is not found 2021-08-09 08:01:04 +02:00
kylo252
47ebd70817
Add LunarVim info panel (Experimental) (#1241)
* feat: lunarvim info (Experimental)

* Add missing providers info

* Use nvim api directly to create the popup

* width tweaks
2021-08-06 16:27:19 +02:00
grvxs
9fc6a2e1cd
fix: typos in lua/ 2021-08-06 16:50:25 +05:30
kylo252
67de24227f
chore: remove unncessary logic from utils (#1238) 2021-08-05 10:35:58 -04:00
kylo252
76a16b6676
stop registering duplicate null-ls providers (#1240) 2021-08-05 10:34:25 -04:00
Pasi Bergman
db19d4c13c
[Bugfix]: Don't override formatter with empty exe (#1224)
* fix(lsp): don't override formatter with empty exe

* Check for nil value
2021-08-04 09:12:01 -04:00
kylo252
7cd03ff4e3
chore: minor cleanup to root_dir comments (#1222) 2021-08-04 11:05:51 +04:30
Abouzar Parvan
e504e1f08c
fix formatting and linting (#1220) 2021-08-04 05:28:24 +00:00
christianchiarulli
6c6fb67a88 use old vim rooter logic, fallback on new way if vimrooter is disabled 2021-08-03 23:02:09 -04:00
kylo252
4c3c3f3885
feat: add lvim.lsp.smart_cwd (#1218)
- Enable querying the language-server for the `root_dir`
- Use `root_dir` to set the current working-directory (CWD)
- Make vim-rooter configurable and add an option to disable it

Inspired by "ahmedkhalf/lsp-rooter.nvim"
2021-08-03 12:10:54 -04:00
Will Leinweber
fc018cdc47
Fix lsp reporting when v.source is nil (#1209) 2021-08-03 00:51:32 -04:00
kylo252
77e283bd9c
[Refactor] Allow editing default keymaps (#1213) 2021-08-02 17:42:56 -04:00
Abouzar Parvan
fbbf1b22a4
fix the formatting :pepehands: (#1208) 2021-08-01 20:51:53 +00:00
Chris
0e05f05e9d respect override table 2021-08-01 15:13:56 -04:00
kylo252
e2dd993ce7
refactor null-ls (#1202) 2021-08-01 10:02:10 +00:00
Abouzar Parvan
30ad4b81f5
Hotfix/eslint d (#1198) 2021-08-01 09:57:15 +00:00
christianchiarulli
8ee070833e fix linter present when executable not found 2021-07-31 19:45:42 -04:00
Abouzar Parvan
2badb25f36
why is eslint_d so bad (#1192) 2021-07-31 15:56:25 +00:00
Abouzar Parvan
c4bff33745
show the actual command (#1191) 2021-07-31 15:42:12 +00:00
Abouzar Parvan
de200da87d
fix eslint_d issue (#1189) 2021-07-31 15:29:52 +00:00
Luc Sinet
fe5daa722f
[Feature] Expose lsp config (#1156) 2021-07-31 14:12:29 +00:00
Geet Sethi
cf16a2e826
Add the better peek functions (#1172) 2021-07-31 13:44:08 +00:00
kylo252
8157f50d13
feat: get null-ls registered providers by filetype (#1186) 2021-07-31 13:04:22 +00:00
kylo252
f36082da0d
feat: add diagnostics source name (#1147) 2021-07-31 12:52:25 +00:00
kylo252
d977e7384e
cleanup formatting handler (#1185) 2021-07-31 08:19:57 +00:00
Abouzar Parvan
2db171eee4
fix luacheck issues (#1184) 2021-07-31 07:45:01 +00:00
Chris
5646462a50 fix format_handler 2021-07-31 00:07:47 -04:00
kylo252
9d89929d9b
Enable querying lang-server formatting capabilities (#1078) 2021-07-31 00:06:08 -04:00
Pasi Bergman
3eaf6d461c
fix: Use null-ls eslint diagnostics config with eslint_d exe (#1159) 2021-07-29 17:33:03 +04:30
aaronsms
9e4a2c4516 fix: change peekDefinition method location 2021-07-29 17:04:03 +08:00
Chris
667bc9a227 fix null-ls 2021-07-29 02:01:15 -04:00
Chris
045fb1425b require when needed 2021-07-29 01:47:20 -04:00
Chris
d1ca23af34 move lsp autocommand 2021-07-28 19:18:30 -04:00
Chris
56c21c60e0 require at the top 2021-07-28 19:16:45 -04:00
Chris
3ee44cb393 service was a good idea, thank you tasty 2021-07-28 19:13:07 -04:00
Chris
ed71e50593 refactor capabilites function 2021-07-28 19:03:29 -04:00
Chris
f73da2a1b2 use utils in null-ls 2021-07-28 17:24:55 -04:00
Chris
2e3a07480f move istable and isstring to utils 2021-07-28 17:24:05 -04:00
Chris
15eaebff92 refactor lsp keybinds 2021-07-28 17:20:25 -04:00
Chris
78dd92b616 more refactor 2021-07-28 17:15:35 -04:00
Chris
f220dc4893 begin lsp refactor 2021-07-28 17:13:50 -04:00
Abouzar Parvan
21971cbed5
null-ls formatter name is different from its command (#1141)
* null-ls formatter name is different from it's command

* add more language support

* nil is unnecessary
2021-07-28 11:03:49 -04:00
Chris
a82fd81106 remove ts-tools 2021-07-27 10:50:49 -04:00
Chris
908ce4f51a don't remap tab, too much pain involved 2021-07-27 10:34:24 -04:00
devtoi
41b5a28624
Wrap lsp default_keybindings in function instead of load on 1st require (#1128)
Co-authored-by: Johan Melin <johan.melin@paradoxinteractive.com>
2021-07-27 10:29:40 -04:00
Chris
4d68c6eb78 don't break for .fish 2021-07-26 14:32:29 -04:00
Luc Sinet
12c0a7441e
[Refactor] remove lv prefix (#1112)
* Rename lv-utils into utils

* Move commands defined in utils into core/commands.lua
2021-07-26 13:14:23 -04:00