Commit graph

77 commits

Author SHA1 Message Date
Abouzar Parvan
2fa5c64cd0
use a separate func instead of replacing the diagnostics messages (#1462)
* use a separate func instead of replacing the diagnostics messages

* fix the styling, also return if no diagnostic is available
2021-09-04 09:53:00 +02:00
hui.liu
bc5b315e53
Setup tailwindcss language server (#1376) 2021-08-30 08:48:17 -04:00
christianchiarulli
5ede0c906a feat: darker doc highlights 2021-08-29 14:25:27 -04:00
Chae SM
d0083e488d Remap 'Goto implementation' binding from gi to gI 2021-08-26 21:06:12 -07:00
kylo252
27679f988f
[Refactor]: only allow a single logger (#1405) 2021-08-26 23:02:16 +04:30
kylo252
5b94e3cee2
fix logging when plenary is not available (#1390) 2021-08-26 12:49:29 +02:00
Abouzar Parvan
2bcbed1499
[feature] Move common parts of language server setup to lsp/init (#1355)
* moving common parts of language server setup to lsp/init

* fix formatting
2021-08-20 14:04:02 +02:00
Ahmed Khalf
b9b9c69615
[Refactor]: Remove vim-rooter and smart-cwd; then use project.nvim (#1315)
* Replace vim-rooter with project.nvim

* Implement stylua format

* Remove smart_cwd

* Implicitly update nvim-tree dir when project active

* Link datapath to cache

* Fix stylua

* Fix lint

* Fix telescope bug

* Fix telescope dependency

* Fix telescope once and for all

* Fix telescope once again
2021-08-18 01:34:26 -04:00
kylo252
335e707b2a
[Feature] Make the rest of the builtins configurable (#1318) 2021-08-17 19:50:18 +04:30
Luc Sinet
70d139ac27
[Refactor/Bugfix] Improve null ls handler (#1277) 2021-08-14 01:02:56 +04:30
Abouzar Parvan
b26b61e304
fix nil exception for langs without providers (#1290) 2021-08-11 14:50:01 +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
kylo252
67de24227f
chore: remove unncessary logic from utils (#1238) 2021-08-05 10:35:58 -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
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
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
Luc Sinet
fe5daa722f
[Feature] Expose lsp config (#1156) 2021-07-31 14:12:29 +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
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
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
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
Christian Chiarulli
c512ac5683
only one formatter is allowed (#1095)
Co-authored-by: christianchiarulli <chrisatmachine@gmail.com>
2021-07-25 14:45:40 -04:00
kylo252
e37a511abc
Fix ignored user autocommands (#1090) 2021-07-25 11:55:19 +00:00
Abouzar Parvan
229720a1f6
removd unused loop variable index 2021-07-25 11:36:22 +00:00
Chris
425b312799 idk how python got there 2021-07-25 02:30:46 -04:00
Christian Chiarulli
1c3b80d041
implement language overrides (#1081)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 00:13:35 -04:00
Christian Chiarulli
98f8a77819
New contract (#1080)
Changes to the global config object

O is now lvim
user_plugins is now plugins
user_autocommands is now autocommands
No more lang specific plugins

Null-ls has replaced both formatter.nvim and nvim-lint
2021-07-24 21:17:11 -04:00
kylo252
840e07c7fc
[Feature] Make common_on_attach configurable (#1024) 2021-07-21 02:04:44 +04:30
PBird
ecb02ba7fe
fix document highlight bug for javascript,typescript... (#1017) 2021-07-19 21:14:44 +04:30
Luc Sinet
bdd6e0cf37
Fix reports from luacheck (#1031) 2021-07-19 20:42:59 +04:30
Ben Goldberg
849b28f153
Add setting to enable/disable the default lsp keybinds (#896) 2021-07-18 20:01:54 +00:00
christianchiarulli
ad373002d8 this throws errors sometimes 2021-07-17 00:11:18 -04:00