Commit graph

161 commits

Author SHA1 Message Date
kylo252
5b94e3cee2
fix logging when plenary is not available (#1390) 2021-08-26 12:49:29 +02:00
chaeing
a83fffdc80
[Bugfix] Load user's autocmd custom_groups (#1393)
* Require core.autocmds before sourcing user config

* Define augroups after sourcing user config
2021-08-26 08:40:25 +02:00
Luc Sinet
00b895d9e9
[Feature] Encapsulate config logic (#1338)
* Define core/builtins, streamline status_color interface

* Encapsulate configuration in its own module

* Add fallback to lv-config.lua

* Rectify settings loading order to allow overriding vim options

* Move default-config into config/ module

* replace uv.fs_stat with utils.is_file
2021-08-25 07:47:48 +02:00
kylo252
33640834e4
fix: set runtime directories correctly (#1354)
* fix: set runtime directories correctly

This also simplifies the way to invoke LunarVim to just be:
`nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua"`

Fixes #1352

* use libuv to get homedir path
2021-08-20 22:59:40 +02:00
dklymenk
ae1dea8b64
[Feature] Expose null ls setup to user config (#1323)
* expose null_ls setup to user config

* add new config to example configs

* fix tabs with stylua

* change else statement in the example
2021-08-16 15:31:03 +02:00
kylo252
77e283bd9c
[Refactor] Allow editing default keymaps (#1213) 2021-08-02 17:42:56 -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
Luc Sinet
679b8b69fb
[Refactor] Define keymapppings helpers in utils.keymap (#1176) 2021-07-31 12:47:31 +00:00
Dery Rahman Ahaddienata
2e446dc14d
Fix autocmd custom_groups not loaded (#1162) 2021-07-29 18:11:50 +04:30
Chris
15eaebff92 refactor lsp keybinds 2021-07-28 17:20:25 -04:00
Chris
f220dc4893 begin lsp refactor 2021-07-28 17:13:50 -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
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
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
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
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
Abouzar Parvan
0884dcd846
Fix the colorscheme issue on new installations 2021-07-23 19:29:44 +00:00
Christian Chiarulli
d02265175f
Decoupling config from nvim (#1038) 2021-07-19 22:50:07 -04:00
Luc Sinet
6f9c521e22
Split plugin loading logic from the configuration (#796) 2021-07-18 18:08:14 +00:00
kylo252
59106e860e
[Refactor] Make default keybindings configurable (#988) 2021-07-18 17:49:41 +00:00
hui.liu
75b5cc4d9f
Improve error message in lv-config file (#922) 2021-07-14 00:36:57 -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
2423fcdc90 refactor single file 2021-07-12 21:11:43 -04:00
Chris
c26c09fadd remove this autocommands 2021-07-11 23:58:32 -04:00
christianchiarulli
2a1fb08a64 remove nvimtree statusline 2021-07-11 22:38:14 -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
619709eb2f refactor settings for hotswap 2021-07-10 03:19:32 -04:00
christianchiarulli
b8182d5aee refactor plugin config 2021-07-09 21:01:23 -04:00
Abouzar Parvan
2866ba528c
fix styling issues (#811) 2021-07-09 08:07:25 -04:00
rebuilt
4f372bb3b7
call colorschemes only after they get installed (#798) 2021-07-08 17:12:48 -04:00
christianchiarulli
23c7fab3b4 more lazy load be careful 2021-07-07 21:57:36 -04:00
christianchiarulli
a247d69c82 refactoring whichkey 2021-07-07 19:27:27 -04:00
Chris
afcf526407 remove emmet and tailwind, need to put in lang specific files 2021-07-07 02:33:05 -04:00
christianchiarulli
c7f2d4a39f dashboard autoconfig 2021-07-06 23:57:27 -04:00
christianchiarulli
0c6771a385 you can now toggle format on and off on the fly! 2021-07-06 22:55:11 -04:00
hui.liu
35e37f06da
Setup tailwindcss-ls (#729) 2021-07-06 12:18:03 -04:00
Rafael
71c5cb4f0b
(feat) use neoformat as the defalt format option (#715) 2021-07-05 16:01:19 -04:00
Rafael
9f511bcb59
start formatting rules 2021-07-04 22:14:01 -03:00
christianchiarulli
49c93a6229 load keymaps before config 2021-07-04 12:58:24 -04:00
christianchiarulli
ec814f60c5 move colorscheme setting to settings 2021-07-04 12:43:54 -04:00
Chris
c0e05e3910 inline colorscheme config 2021-07-02 14:56:19 -04:00
christianchiarulli
20ed47e21e lsp in ftplugin austonautomoy 2021-07-01 23:42:26 -04:00
rebuilt
f793797fa8
fixes indenting by adding compe setup in autopairs config (#569) 2021-07-01 09:53:57 -04:00
kylo252
5ecdae981f
lazyload telescope (#564)
* lazyload telescope

* Update plugins.lua

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-06-30 18:55:01 -04:00
christianchiarulli
9e7ad60747 refactor autocommands 2021-06-30 18:45:40 -04:00
rebuilt
0cecc1669d
Colorscheme needs to be set after plugins have been installed (#556) 2021-06-30 09:47:11 -04:00
Chris
73276a79c0 updates 2021-06-29 19:17:08 -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