Commit graph

64 commits

Author SHA1 Message Date
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
Abouzar Parvan
b608b08ff3
fix compe tab completion issue (#1217) 2021-08-03 12:54:23 +04:30
tafryn
c0a653a0cf
Allow user's to define their own nvim-tree bindings (#1181) 2021-08-03 05:43:57 +00:00
William Goulois
dc3b47b7e7
[Feature]: Add possibility to focus nvimtree instead of toggle (#1074) 2021-08-03 04:54:57 +00:00
kylo252
77e283bd9c
[Refactor] Allow editing default keymaps (#1213) 2021-08-02 17:42:56 -04:00
Luc Sinet
6d14d7b5da
[Refactor] Adopt which key mapping style (#1210)
* Refactor keymappings to match which-key style

* Update confif example + remove redundant way of registering mappings
2021-08-02 11:19:44 -04:00
Gauravsingh Sisodia
8e88bf5258
fix: comment typo (#1211) 2021-08-02 10:56:03 +00:00
Luc Sinet
d5557f56c8
Make keymaps of bufferline and compe configurable (#1205) 2021-08-02 10:35:46 +04:30
Chris
72f5a54ec2 compe doc options 2021-08-01 12:21:06 -04:00
Chris
2b09dbf098 cleanup old tab filetype specific code 2021-07-31 15:53:00 -04:00
Chris
db9adf2fb8 borders on docs 2021-07-31 15:47:08 -04:00
Chris
d7595fbb6a tab complete is more consistent 2021-07-31 15:22:15 -04:00
chaeing
213e3961fa
[Feature] Rename lv-config.lua to config.lua (#1193)
* Rename example config files

* Update user config path in installer

* Update user config path with a variable

* Update default user config file to config.lua

* Add fallback to lv-config if config.lua not found

* Add global variable USER_CONFIG_PATH
2021-07-31 14:28:59 -04: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
Abouzar Parvan
2db171eee4
fix luacheck issues (#1184) 2021-07-31 07:45:01 +00:00
Abouzar Parvan
b9ca4a157e
make telescope keybindings more sane (#1154) 2021-07-31 00:33:23 -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
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
9611a50acc just use tf 2021-07-28 14:36:41 -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
kylo252
c07b0c4731
feat: resolve null-ls tag in galaxyline (#1138) 2021-07-27 21:04:51 -04:00
Abouzar Parvan
025cc3e684
do not touch bufferline if nvimtree is on the right side 2021-07-27 23:54:01 +04:30
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
66bf89c3d1 disable yaml for treesitter indent 2021-07-26 18:56:08 -04:00
Barlingo
273fdedf32
run stylua (#1122)
Co-authored-by: Diego Barranco <diegob@xps.lan>
2021-07-26 15:27:36 -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
christianchiarulli
d1bed12764 new footer 2021-07-26 00:46:32 -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
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
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
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
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
Luc Sinet
bdd6e0cf37
Fix reports from luacheck (#1031) 2021-07-19 20:42:59 +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
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
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
Luc Sinet
836286798e
[Feature] add linter support (#982) 2021-07-16 18:30:38 -04:00
Abouzar Parvan
cf0a558fe5
🎉 telescope supports colorscheme preview (#995) 2021-07-16 13:45:21 -04:00