Commit graph

197 commits

Author SHA1 Message Date
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
christianchiarulli
924565feba fix csharp 2021-07-25 13:58:34 -04:00
kylo252
e37a511abc
Fix ignored user autocommands (#1090) 2021-07-25 11:55:19 +00:00
Abouzar Parvan
c94aac07cd
removed unused loop variable index 2021-07-25 11:36:46 +00:00
Abouzar Parvan
229720a1f6
removd unused loop variable index 2021-07-25 11:36:22 +00:00
Chris
e984fa3c93 some todos 2021-07-25 03:10:08 -04:00
Chris
b694a3ddc2 better logic for null-ls 2021-07-25 02:49:16 -04: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
JVaverka
fe69c43d66
[Feature]: Add language server support for Julia (#423) (#918) 2021-07-19 12:03:57 +04:30
Ben Goldberg
849b28f153
Add setting to enable/disable the default lsp keybinds (#896) 2021-07-18 20:01:54 +00:00
Pasi Bergman
dd4dbdd184
[Bugfix] Fix tsserver lsp setup. Fix ts-fmt-lint setup (#1013) 2021-07-18 14:38:41 -04:00
christianchiarulli
a3f3f3b60c nil check for extended args 2021-07-18 14:10:15 -04:00
William Goulois
75fab5cea1
fix: diagnostics level for eslint and $ missing (#1001) 2021-07-17 09:46:31 -04:00
christianchiarulli
ad373002d8 this throws errors sometimes 2021-07-17 00:11:18 -04:00
christianchiarulli
30a9becf6d global virtualtext is respected for js 2021-07-16 18:32:43 -04:00
christianchiarulli
3550d7c06a update 2021-07-15 20:49:33 -04:00
christianchiarulli
a0900923cf more refactor 2021-07-14 16:27:08 -04:00
Chris
3214ffed7a language template 2021-07-14 12:54:26 -04:00
hui.liu
946b251233
Fix tsserver formatter not working (#925) 2021-07-14 11:35:25 +04:30
hui.liu
07199a3082
Allow override tsserver formatter args (#921) 2021-07-14 00:46:01 -04:00
hui.liu
3dfb4184b7
Add formatter for typescript and typescriptreact (#920) 2021-07-14 00:37:26 -04:00
Chris
f87e85a032 already namespaced, will also move these to a dir called language 2021-07-14 00:29:47 -04:00
Chris
2d65ffcff2 begine language refactor 2021-07-14 00:21:32 -04:00
christianchiarulli
3279553481 java default formatter 2021-07-13 20:57:58 -04:00
Abouzar Parvan
de7ec62f5f
Added default formatters (#908)
* added default formatters for a couple of langs

* fix: sugesstions from tastyep

* allow users to change default formatters

* suggestion: mellow pointed out the telescope issue

* we don't need to use formatter.setup
2021-07-13 19:49:36 -04:00
christianchiarulli
eceb656b4b poc with local prettier working 2021-07-13 00:48:37 -04:00
Pasi Bergman
ab103baf51
Set root_dir for efm-langserver configurations (#899) 2021-07-12 17:03:20 -04:00
Rafael
c41d900bb9
add function to preview definitions (#883)
* add function to preview definitions

* add funciton to preview types and implementations

* add borders

Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
2021-07-12 00:21:07 -04:00
Pasi Bergman
a7fb911586
Enable emmet-ls on vue filetype (#875) 2021-07-11 09:37:59 -04:00
William Goulois
26c5c74303
add eslint and eslint_d to efm (#877) 2021-07-11 09:36:35 -04:00
Abouzar Parvan
93379a2977
avoiding OCD attack with the help of folke/todo-comments (#839) 2021-07-10 17:34:20 -04:00
christianchiarulli
f30158d3e3 change formatter to exe 2021-07-10 14:53:01 -04:00
christianchiarulli
ff89ebd8e6 namespace document highlight under lsp 2021-07-10 02:38:38 -04:00
hui.liu
8717f4f9a9
Refactor tsserver-ls as a shared module (#806) 2021-07-09 08:08:17 -04:00
Abouzar Parvan
2866ba528c
fix styling issues (#811) 2021-07-09 08:07:25 -04:00
hui.liu
35e37f06da
Setup tailwindcss-ls (#729) 2021-07-06 12:18:03 -04:00
kjssad
5eed5cf3ec
Add borders to lsp popups (#686)
* feat(lsp): add single type border to hover popup

* feat(lsp): add single type border to signatureHelp

* feat(lsp): add border to line diagnostic popup

* feat(lsp): use global option to configure borders
2021-07-05 10:43:37 -04:00
Robin Kautz
bd9296c4e8
fixes condition to use local prettier (#678) 2021-07-05 03:21:41 -04:00
Chris
b4a9023c9e remove lspsaga 2021-07-05 02:57:06 -04:00
christianchiarulli
3376118304 emmet-ls technically doesn't support react 2021-07-04 22:56:20 -04:00
Chris
0b251be44c shelfing null-ls for now, seems to slow things down significantly 2021-07-04 22:49:47 -04:00
maxime50
d2324d14e1
Better JS/TS Development Experience (#667)
Co-authored-by: Maxime <m.romero@progtechinformatique.ca>
2021-07-04 18:22:10 -04:00
Chris
0d14b91e1e seems to disable everything we may have to use a more complicated method 2021-07-04 10:22:16 -04:00
rob
1ed7392534
Prevent startup errors on first run (#645) 2021-07-04 10:07:11 -04:00
christianchiarulli
a8ccb55260 eslint working (fixes) prettier working (with node modules) 2021-07-03 18:50:21 -04:00
James Walmsley
c05eaf4537
[LSP] key-bind - ca is the nvim default for "change around". (#602) 2021-07-03 11:36:36 -04:00
christianchiarulli
20ed47e21e lsp in ftplugin austonautomoy 2021-07-01 23:42:26 -04:00
Chris
e541ef5482 fix autoformatting 2021-06-30 22:09:18 -04:00
christianchiarulli
9e7ad60747 refactor autocommands 2021-06-30 18:45:40 -04:00
Abouzar Parvan
758798b6f9
added rust-tools thanks to bob3000 (#544)
* added rust-tools

* require_plugin has been removed
2021-06-29 17:49:23 -04:00
Chris
38a0668e4d use lsp to format json 2021-06-29 13:48:58 -04:00
christianchiarulli
ccf7e85df9 config overhaul 2021-06-28 00:36:29 -04:00
christianchiarulli
c1c8cd600c more speed 2021-06-27 15:31:33 -04:00
Marek Filipowicz
60175ee0d6
feat(kotlin): Replace current custom kotlin installation with LspInstall kotlin (#518) 2021-06-26 14:25:20 -04:00
Marek Filipowicz
a9e9047118
feat(java): Replace the current custom installation of java, with lspinstall (#517) 2021-06-26 13:15:02 -04:00
Nawfal bin Mohmad Rouyan
c51ffdd8ac
Simplify tailwindcss-ls config (#502)
latest nvim-lspconfig has all the necessary config for tailwindcss included.
2021-06-18 17:43:58 -04:00
Fabrizio Sestito
3d95cca625
Remove "." directory in root pattern (#471) 2021-06-18 16:19:49 -04:00
Fabrizio Sestito
bbe0f78c28
Add file types to terraform language server config (#467) 2021-06-18 16:19:19 -04:00
wcsjdzz
b4446a1a21
LSP config of cmake (#455)
Co-authored-by: zhongzedu <duzhongze19s@ict.ac.cn>
2021-06-04 15:24:10 -04:00
maxime50
04c21be64b
tailwindcss LSP fix (#442) 2021-05-30 01:06:45 -04:00
tafryn
6f8f265e86
Add setting to enable/disable document highlighting (#428) 2021-05-25 19:08:37 -04:00
Amandus Søve Thorsrud
74ffae99d4
Support different config paths (#426)
This makes the configuration files work if neovim's config path is different from `~/.config/nvim`.
2021-05-25 19:08:15 -04:00
iToXiQ
969f0f0bb7
added support for elixir (#403) 2021-05-17 13:16:57 -04:00
Andrés Otárola
da0d2dbabe
Add Elm support (#386)
* Add Elm support

See: https://github.com/kabouzeid/nvim-lspinstall/pull/51

* remove comment
2021-05-11 15:34:36 -04:00
Brymer Meneses
4de1cb5a57
Fix Vue LSP (#378) 2021-05-07 17:23:35 -04:00
Andrew Fridley
5660dfe4ea
Add default lsp settings (#364)
- for virtual text prefix and spacing
- for signs
- for underline
2021-05-05 00:40:09 -04:00
Andrew Fridley
a69bf73fd2
Improve LSP Icons (#331) 2021-05-03 16:39:03 -04:00
Francisco Suárez
3adcfdc034
Python analysis options (pyright) (#352) 2021-05-03 16:37:12 -04:00
ptethng
50701b2d8f
add angular lsp (#322)
Co-authored-by: ptethng <hugo.nogard@protonmail.com>
2021-04-29 18:52:13 -04:00
rebuilt
a5a706a3cc
Typescript (#311)
* Add typescript formatting support

* make sure vue is in the list of filetypes

* Add typescriptreact formatting
2021-04-29 02:01:37 -04:00
christianchiarulli
47d821533b update snippet symbol 2021-04-27 01:18:05 -04:00
rebuilt
f4f7a96496
adds vue language server support (#303) 2021-04-27 01:00:21 -04:00
Shubham Pawar
eb12e64058
Gopls fixed. Root dir was causing problem (#289) 2021-04-26 00:00:53 -04:00
Tim Bedard
82aeecdb10
fix(emf-general-ls): fix black, add lua-fmt (#264) 2021-04-17 18:42:51 -04:00
przbadu
7a29d5204a
Add lsp support for ruby (#258) 2021-04-16 13:12:08 -04:00
Marek Filipowicz
1afd5aa592
Add kotlin lsp support, and :LspInstall kotlin (#263) 2021-04-16 13:08:48 -04:00
Rafael
886b3bde75
replace lsp-kind for vim.lsp.protocol.CompletionItemKind native option (#257) 2021-04-15 12:30:25 -04:00
christianchiarulli
2cd8c6a21c LunarVim 2021-04-15 00:17:48 -04:00
christianchiarulli
f6e7eb755c updates 2021-04-07 00:29:10 -04:00
Jordi Santamaria Portoles
a78b8510b4
Fix tslint is not using tsconfig.json (#233) 2021-04-05 12:36:05 -04:00
Alan Jenkins
b584ee8ee3
Add the Terraform LSP config (#222) 2021-04-03 13:04:27 -04:00
Dominik Marcinowski
f40925f94f
Make tss server work on standalone js/ts/etc. files (#216) 2021-04-02 03:25:50 -04:00
Chris
4ab0d1ff05 udpates 2021-04-01 20:32:49 -04:00
Nawfal bin Mohmad Rouyan
c2a937b622
Add tailwindcss lsp support (#205) 2021-04-01 03:29:52 -04:00
chaeing
029c7e5219
Add svelte lsp config for LspInstall (#202) 2021-03-31 10:50:00 -04:00
Biser Stoilov
5f22c1bace
Define shell + php lsp + dart lsp + flutter + relative number (#188) 2021-03-30 02:17:40 -04:00
Chris
cb008a31eb update python formatting 2021-03-29 16:24:03 -04:00
fanmih
fc5f8c89dc
[LSP] latex - Add support for latex via LspInstall (#183) 2021-03-29 01:16:56 -04:00
James Walmsley
225175c9e4
[LSP] rust - Add support for rust-analyzer via LspInstall. (#178) 2021-03-28 15:21:09 -04:00
Benjamin Schmidt
4f9a07d428
add black python formatter (#182) 2021-03-28 14:49:56 -04:00
James Walmsley
8ce7e8d800
[LSP] go - Support gopls through LspInstall. (#177) 2021-03-28 05:19:58 -04:00
Chris
edc640c50f new settings options for autoformat 2021-03-28 03:52:09 -04:00