Commit graph

886 commits

Author SHA1 Message Date
Abouzar Parvan
b9ca4a157e
make telescope keybindings more sane (#1154) 2021-07-31 00:33:23 -04:00
Chris
997acc5720 add on init to gdscript 2021-07-31 00:32:41 -04:00
MengChen. Huang
bfb85f9620
add gdscript lsp support (#1164) 2021-07-31 00:22:25 -04: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
Abouzar Parvan
ce8c63c6bf
Fix the galaxyline null pointer issue (#1179) 2021-07-30 14:44:25 -04:00
Chris
e6aceea12e add packerstatus 2021-07-29 21:40:10 -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
3ff9679e5a properly support terraform 2021-07-29 00:51:50 -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
e2f7cce3c5 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-28 19:03:33 -04:00
Chris
ed71e50593 refactor capabilites function 2021-07-28 19:03:29 -04:00
Pasi Bergman
76eee4f134
fix: correct vue lsp provider name (#1150) 2021-07-28 18:54:22 -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
339aa8756e Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-28 17:13:59 -04:00
Chris
f220dc4893 begin lsp refactor 2021-07-28 17:13:50 -04:00
Alvaro Troya
ebf3262701 Fix typo in insert mode keybindings 2021-07-28 22:49:05 +02:00
Rafael Madriz
48295ec644
no need to add root patterns, airblade/vim-rooter#123 got merged 2021-07-28 16:12:17 -03:00
Chris
9611a50acc just use tf 2021-07-28 14:36:41 -04:00
Chris
0dd2087b52 fix terraform 2021-07-28 14:01:19 -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
christianchiarulli
2ec446e21e don't use this plugin strategy because it makes packer sad 2021-07-28 00:02:40 -04:00
kylo252
c07b0c4731
feat: resolve null-ls tag in galaxyline (#1138) 2021-07-27 21:04:51 -04:00
Rafael
0a16235cec
include package-lock.json & package.json in root patterns (#1133)
* Just adds package.json and package-lock.json for the root patterns of
  vim-rooter

* The other ones are the default patterns, see `:help g:rooter_patterns`
2021-07-27 16:31:04 -04:00
Abouzar Parvan
025cc3e684
do not touch bufferline if nvimtree is on the right side 2021-07-27 23:54:01 +04:30
Abouzar Parvan
4b8b2b3f71
appreantly omnisharp has changed (#1136) 2021-07-27 14:33:24 -04:00
Chris
5d204a4691 basic puppet support 2021-07-27 12:27:56 -04:00
rebuilt
2b877ee53e
Conditionally enable TAB to trigger completion based on filetype. Disable completion for simple text files (#1130)
* disable tab completion for markdown

* md is markdown

* Set local keybindings conditionally based on filetype.  Disable tab complete for text files

* Rename functions and expose excluded filetypes setting for compe

Co-authored-by: abzcoding <abzcoding@gmail.com>
2021-07-27 11:02:20 -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
66bf89c3d1 disable yaml for treesitter indent 2021-07-26 18:56:08 -04:00
Chris
6d3274dfec remove comment 2021-07-26 18:31:53 -04:00
rebuilt
9028294360
splits up the settings file. settings.lua gets required before lv-co… (#1097)
* split settings into callable functions

* renamed functions
2021-07-26 18:28:47 -04:00
Dylan Barker
79ff1548dd
correct spelling (chktex) (#1126) 2021-07-26 22:11:34 +00:00
Barlingo
273fdedf32
run stylua (#1122)
Co-authored-by: Diego Barranco <diegob@xps.lan>
2021-07-26 15:27:36 -04:00
Chris
4d68c6eb78 don't break for .fish 2021-07-26 14:32:29 -04:00
Chris
e5bd25b1f3 global O -> lvim 2021-07-26 13:25:13 -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
ichigo-gyuunyuu
623994af2a
add fields for latex (#1118) 2021-07-26 13:14:06 -04:00
Chris
e101fe84e4 more formatter and linter fields 2021-07-26 10:09:35 -04:00
Chris
5f16a3d43f more formatters and linters 2021-07-26 10:05:39 -04:00
Chris
f976f9b99d linter fields for tf 2021-07-26 10:03:35 -04:00
rebuilt
275c20a394
BufWritePre enables format on save for lv-config.lua (#1111) 2021-07-26 17:27:18 +04:30
ichigo-gyuunyuu
30c56e0b4a
Update highlights.lua (#1114) 2021-07-26 17:26:53 +04:30
William Goulois
c1b0c6f065
fix: WarningMsg color was red (#1092) 2021-07-26 13:02:33 +04:30
Gauravsingh Sisodia
ce22121c82
fix: typos (#1110) 2021-07-26 12:57:57 +04:30
ichigo-gyuunyuu
19f3af08c3
Update init.lua (#1108) 2021-07-26 03:02:25 -04:00
christianchiarulli
d1bed12764 new footer 2021-07-26 00:46:32 -04:00
christianchiarulli
9542b7b143 compatible 0.5 treesitter 2021-07-26 00:34:40 -04:00
christianchiarulli
3c9c081c28 add svelte 2021-07-26 00:01:04 -04:00
christianchiarulli
4458223b8a basic scala support 2021-07-25 23:51:47 -04:00
christianchiarulli
e6f4b20346 autoindent issue solved finally 2021-07-25 23:28:47 -04:00
Real Human
aa356858ef
remove defaults.find_command (#1096)
Co-authored-by: tiannaru <piersinaru.cristian@gmail.com>
2021-07-25 22:04:58 -04:00
Chris
1adcb31be6 fixing more langs 2021-07-25 18:06:11 -04:00
Chris
d1613ed5e8 formatter and linter section for elm 2021-07-25 17:58:50 -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
christianchiarulli
145661ca97 formatter field for csharp 2021-07-25 13:48:36 -04:00
Huynh Viet
823945cdad
Fixed the potential ugly prompt which is poor UX (#1091)
Toggleterm's winblend option leads to ugly prompt for some users

https://github.com/akinsho/nvim-toggleterm.lua/issues/70
2021-07-25 12:37:24 -04:00
Eti
9944eb8776
Show correct indentation settings in galaxyline (#1093)
Display "Tab size: " instead of "Spaces: " if indenting with tabs.
2021-07-25 12:36:53 -04:00
abzcoding
739784e43c fix formatting according to stylua 2021-07-25 16:27:48 +04:30
kylo252
e37a511abc
Fix ignored user autocommands (#1090) 2021-07-25 11:55:19 +00:00
rebuilt
47c44ae248
Move leader keybinding into the whichkey config (#1089) 2021-07-25 11:39:33 +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
ichigo-gyuunyuu
9425eeced7
Update reload_lv_config (#1086)
* Updates `reload_lv_config`

Fixes a bug that reverts back to the default options on saving `lv-config.lua`

Fixes #1085

* Update init.lua

Edit: this would break changing plugin configs, now `settings.lua` is sourced before `lv-config.lua`
2021-07-25 02:50:28 -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
Chris
96c5ff62f8 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-25 02:09:17 -04:00
Chris
fb439b7309 fix vim not having a formatter field 2021-07-25 02:09:12 -04:00
Abouzar Parvan
ceb018d45d
Update init.lua 2021-07-25 05:46:09 +00:00
Abouzar Parvan
dfadb7e1c3
Update init.lua 2021-07-25 05:45:08 +00:00
Christian Chiarulli
340eacec1f
support typescript, javascriptreact and typescriptreact (#1084)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 01:24:33 -04:00
Kai
0dec3eee53
remove shift - x from buffer line (#1073)
fixes issue https://github.com/ChristianChiarulli/LunarVim/issues/1053
2021-07-25 00:28:40 -04:00
Christian Chiarulli
03fd574f4d
use lvim.builtin for compe (#1082)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 00:25:52 -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
devtoi
796148fb00
[Feature]: Add callbacks for plugins with a config entry for packer (#1042) 2021-07-21 01:58:29 +04:30
ichigo-gyuunyuu
0064b446a0
[Feature] Allow for custom path to a language server binary (#1043) 2021-07-21 00:03:15 +04:30
Will Leinweber
029e08868a
Add sorbet lsp for ruby (#1035) 2021-07-20 15:25:32 +00:00
Luc Sinet
4d46ee6e58
Fix autolint group definition (#1041) 2021-07-20 15:20:10 +00:00
Christian Chiarulli
d02265175f
Decoupling config from nvim (#1038) 2021-07-19 22:50:07 -04:00
Abouzar Parvan
acb6a7a2ce
fixed terminal navigation keys (#1033) 2021-07-19 22:05:30 +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
Abouzar Parvan
e82fc442d0
move julia stuff to core/lang (#1023) 2021-07-19 16:17:50 +04:30
JVaverka
fe69c43d66
[Feature]: Add language server support for Julia (#423) (#918) 2021-07-19 12:03:57 +04:30
Abouzar Parvan
e50a586a3a
toggle() already follows the file, no need for find_file() (#1020) 2021-07-19 03:17:49 -04:00
Abouzar Parvan
047f641b05
reverting due to #1018 2021-07-19 04:35:33 +00:00
Ben Goldberg
849b28f153
Add setting to enable/disable the default lsp keybinds (#896) 2021-07-18 20:01:54 +00:00
Abouzar Parvan
e264bfe06d
unpin nvim-tree.lua 2021-07-18 19:36:56 +00:00
Pasi Bergman
dd4dbdd184
[Bugfix] Fix tsserver lsp setup. Fix ts-fmt-lint setup (#1013) 2021-07-18 14:38:41 -04:00
Pasi Bergman
d9936b0d84
[Feature] Add Vue formatter (prettier) setup (#1016) 2021-07-18 14:36:08 -04:00
christianchiarulli
b797c2398f Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-18 14:10:19 -04:00
christianchiarulli
a3f3f3b60c nil check for extended args 2021-07-18 14:10:15 -04:00
Luc Sinet
6f9c521e22
Split plugin loading logic from the configuration (#796) 2021-07-18 18:08:14 +00:00
Abouzar Parvan
56f17cebd4
[Feature] Allow users to inspect all settings inside LV (#984) 2021-07-18 17:57:05 +00:00
Abouzar Parvan
113f69c447
[Feature] Add R support (#965) 2021-07-18 17:56:51 +00:00
Abouzar Parvan
0e8f69f339
[Feature] Add swift support (#1002) 2021-07-18 17:56:31 +00:00
Abouzar Parvan
1ebdb38d7c
fix keymappings issue 2021-07-18 17:52:12 +00:00
kylo252
59106e860e
[Refactor] Make default keybindings configurable (#988) 2021-07-18 17:49:41 +00:00
Abouzar Parvan
6e6a4a96e0
fixing broken nvimtree (#1012) 2021-07-18 15:57:06 +04:30
Abouzar Parvan
5d21a1dbd8
a better path_display default for telescope (#1009) 2021-07-17 19:11:57 -04:00
Abouzar Parvan
71e0266b4b
added support for svelte (#1008) 2021-07-17 19:11:26 -04:00
Pasi Bergman
11ac140eb5
Remove OmniSharp LSP root_dir config after nvim-lspconfig PR #1084 (#1006) 2021-07-17 21:05:12 +04:30
William Goulois
75fab5cea1
fix: diagnostics level for eslint and $ missing (#1001) 2021-07-17 09:46:31 -04:00
christianchiarulli
ddb627d004 also source keymaps 2021-07-17 03:16:02 -04:00
chaeing
1f5fd93f80
[Refactor] nvimtree to be configurable (#970)
* Refactor nvimtree to be configurable

* Correct the location of .stylua.toml in Contrib.md

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-07-17 02:42:55 -04:00
Abouzar Parvan
18209ed558
allow users to set disabled vim builtins (#948) 2021-07-17 02:40:50 -04:00
Abouzar Parvan
7f978fd2d3
Ruby debugging support (#969)
* Ruby debugging support

* add comment for ruby debugging requirements
2021-07-17 02:34:29 -04:00
Abouzar Parvan
3f4cf5f01d
be explicit about stdin for formatters (#987) 2021-07-17 02:32:17 -04:00
christianchiarulli
ad373002d8 this throws errors sometimes 2021-07-17 00:11:18 -04:00
christianchiarulli
7232e0f7e0 fix borders and doc highlight 2021-07-16 23:22:02 -04:00
christianchiarulli
cabc218c64 this may break things if not specified like this 2021-07-16 18:36:43 -04:00
christianchiarulli
30a9becf6d global virtualtext is respected for js 2021-07-16 18:32:43 -04:00
Luc Sinet
836286798e
[Feature] add linter support (#982) 2021-07-16 18:30:38 -04:00
Abouzar Parvan
fe48ed9ef9
add scala and sbt support (#986) 2021-07-16 18:26:29 -04:00
Abouzar Parvan
cf0a558fe5
🎉 telescope supports colorscheme preview (#995) 2021-07-16 13:45:21 -04:00
maxxnino
909b9cff87
Add format for zig (#991)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-07-16 11:23:17 -04:00
Murtaza Udaipurwala
9b0292b003
Fixed #911 (#990)
Co-authored-by: Murtaza Udaipurwal <murtaza@machine>
2021-07-16 11:22:29 -04:00
christianchiarulli
d8f030f813 another fix 2021-07-15 20:57:57 -04:00
christianchiarulli
a144fd5249 fix 2021-07-15 20:54:25 -04:00
christianchiarulli
3550d7c06a update 2021-07-15 20:49:33 -04:00
Abouzar Parvan
eb88a16c7e
add option to use change folding mode (#978) 2021-07-15 14:09:40 -04:00
christianchiarulli
554b6f086b add clojure lsp 2021-07-15 14:08:46 -04:00
christianchiarulli
359c06d002 add on attach to more langs 2021-07-15 13:49:15 -04:00
Tiberiu Craciun
776c3ca935
fixed elixir on-attach (#979) 2021-07-15 13:44:19 -04:00
christianchiarulli
cd72571a76 add erlang 2021-07-15 13:34:58 -04:00
not
9ed28bce96
[Feature] Hide formatter.nvim tempfiles (#955) 2021-07-15 15:18:36 +00:00
UltimateOmega
21c515d8e3
[LANG] add basic files for Fish (#968) 2021-07-15 13:08:36 +00:00
James Walmsley
ebcb38d85b
[LANG] c/cpp: formatter - run clang-format from CWD of file. (#967) 2021-07-15 11:37:05 +00:00
UltimateOmega
b309c49981
[DEFAULT-CONFIG] Add sidescrolloff (#963) 2021-07-15 11:11:59 +00:00
christianchiarulli
6d9bd42c0f hlsearch true 2021-07-15 00:42:17 -04:00
christianchiarulli
7252ba7a31 Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-14 23:15:17 -04:00
christianchiarulli
f58782563e user toggleterm instead of fterm 2021-07-14 23:15:12 -04:00
Abouzar Parvan
64eeec3880
fixed styling issues (#952) 2021-07-15 05:51:16 +04:30
Abouzar Parvan
f95e150518
Default config reformat (#951) 2021-07-14 21:14:25 -04:00
Abouzar Parvan
b034837613
Refactor of c/cpp lsp and formatting (#947) 2021-07-14 20:49:01 -04:00
Abouzar Parvan
e6de44e444
more language reformat (#949) 2021-07-14 20:48:05 -04:00