Commit graph

845 commits

Author SHA1 Message Date
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
christianchiarulli
2a7b3d4892 reformat most langs 2021-07-14 18:50:07 -04:00
christianchiarulli
81adc270dd fix comment 2021-07-14 16:27:42 -04:00
christianchiarulli
a0900923cf more refactor 2021-07-14 16:27:08 -04:00
rebuilt
a20e04c289
Autopairs event trigger (#929) 2021-07-14 22:11:52 +04:30
Chris
3214ffed7a language template 2021-07-14 12:54:26 -04:00
Pasi Bergman
98430bd108
Use user defined value when setting showtabline on BufLeave (#939) 2021-07-14 11:40:05 -04:00
Tiberiu Craciun
623c2e62b5
added default elixir formatter (#934) 2021-07-14 11:06:07 -04:00
not
acb685c093
feat: add css (and pre-processors) support (#937) 2021-07-14 11:05:09 -04:00
hui.liu
946b251233
Fix tsserver formatter not working (#925) 2021-07-14 11:35:25 +04:30
PZ31k0nauT
b6c8d4b2a2
User configurable latex lsp#2 (#861)
* Adjust tex.lua and default-config for lsp magic

With this commit table elements are added to default-config.lua, which
are referenced in tex.lua. The settings are set to default.

This enables the user to configure settings accordingly inside of
lv-config.lua.
- build arguments
- forwardsearch executable e.g. zathura
- forwardsearch arguments for chosen executable are implemented
  automatically
- handlers for virtual_text, signs, underline and update_in_insert are
  set to the default

* Added Texlab-Build and Forward as which-keys

With this commit the two commands `:TexlabBuild` and `:TexlabForward`
are added as which-keys under the category +LaTeX.

- b is for TexlabBuild
- p is for TexlanForward (Preview)

* Change which-key for +Latex

The which-key for +Latex has to be changed because `L` is already used
by +Lush.

With this commit the which-key for +Latex is changed to `t`.

* Add documentation of options

All configurable texlab option is documented in lv-config.example.lua.

Also a link to the documentation of the options from latex-lsp/texlab
is added.
2021-07-14 01:42:36 -04:00
hui.liu
07199a3082
Allow override tsserver formatter args (#921) 2021-07-14 00:46:01 -04:00
hui.liu
64045a40df
Fix dashboard which key still appears when dashboard disabled (#923)
* Fix dashboard which key still appears when dashboard disabled

* Prevent override user_which_key
2021-07-14 00:45:11 -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
christianchiarulli
ef44a4f3c6 terraform formatter 2021-07-13 20:31:49 -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
James Walmsley
6bbc082f57
[WHICH-KEY] Use wk.register() to handle the overrides. (#915) 2021-07-14 01:36:19 +04:30
Brandon Conway
08d930a6bb
Fix vsnip_dir typo (#916) 2021-07-14 01:35:35 +04:30
Chris
127359e431 always close tree, there is a bug with nvimtree if you don't autoclose where the buffer you open will inherit the settings of the tree buffer 2021-07-13 11:43:04 -04:00
hui.liu
6f0c8c20ff
Add telescope cycle prompt history keymappings (#909) 2021-07-13 11:28:16 -04:00
christianchiarulli
359b6fd8e4 protected call for formatter.nvim 2021-07-13 01:08:03 -04:00
christianchiarulli
eceb656b4b poc with local prettier working 2021-07-13 00:48:37 -04:00
christianchiarulli
16d67ecf76 refactor, fix galaxyline 2021-07-12 21:59:16 -04:00
Abouzar Parvan
b98646ce7a
we should install O.user_plugins (#905) 2021-07-13 01:51:49 +00:00
christianchiarulli
40209461a4 move user autocommands to bottom of table 2021-07-12 21:14:28 -04:00
christianchiarulli
cbc301b76a Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling 2021-07-12 21:11:50 -04:00
christianchiarulli
2423fcdc90 refactor single file 2021-07-12 21:11:43 -04:00
Aaron Keisler
57893b3988
fix: comment typo (#902) 2021-07-13 00:16:25 +00:00
christianchiarulli
476f7bb22f poc for refactor into one file 2021-07-12 19:30:07 -04:00
Pasi Bergman
ab103baf51
Set root_dir for efm-langserver configurations (#899) 2021-07-12 17:03:20 -04:00
Luc Sinet
abdf383aa9
Define keymappings using a mapping table (#753)
🚀
2021-07-12 23:57:23 +04:30
christianchiarulli
2219012a9c decrease brightness 2021-07-12 12:56:04 -04:00
christianchiarulli
e780972b30 spacegray now in lua 2021-07-12 12:51:49 -04:00
Chris
7677f220b7 vim-rooter is essential 2021-07-12 11:58:30 -04:00
user0210
c3b784024a
remove tilde from EndOfBuffer in transparent mode (#885)
the tildes are not transparent and are shown for example in nvimtree.
you cant make them transparent, but we can remove them.
no trailing whitespaces are generated.
2021-07-12 00:31:27 -04:00
chaeing
9e03b59474
Remove t-keymap which overrides term-app's <ESC> (#886) 2021-07-12 00:30:55 -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
Daniel You
1dfad4d233
Prevent duplicate LSP clients from appearing in galaxyline (#880)
* ensure clients are displayed correctly

* prevent duplicate LSPs from showing
2021-07-11 15:12:29 -04:00
christianchiarulli
50bb8acce4 support colorschemes from lunarvim colorschemes 2021-07-11 15:08:31 -04:00