Commit graph

186 commits

Author SHA1 Message Date
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
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
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
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
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
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
Christian Chiarulli
340eacec1f
support typescript, javascriptreact and typescriptreact (#1084)
Co-authored-by: Chris <chris@macbook.local>
2021-07-25 01:24:33 -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
Christian Chiarulli
d02265175f
Decoupling config from nvim (#1038) 2021-07-19 22:50:07 -04:00
Abouzar Parvan
e82fc442d0
move julia stuff to core/lang (#1023) 2021-07-19 16:17:50 +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
d9936b0d84
[Feature] Add Vue formatter (prettier) setup (#1016) 2021-07-18 14:36:08 -04: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
kylo252
59106e860e
[Refactor] Make default keybindings configurable (#988) 2021-07-18 17:49:41 +00:00
Abouzar Parvan
71e0266b4b
added support for svelte (#1008) 2021-07-17 19:11:26 -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
christianchiarulli
7232e0f7e0 fix borders and doc highlight 2021-07-16 23:22:02 -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
maxxnino
909b9cff87
Add format for zig (#991)
Co-authored-by: maxxnino <idonthaveemail@dontknow.com>
2021-07-16 11:23:17 -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
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
f58782563e user toggleterm instead of fterm 2021-07-14 23:15:12 -04:00
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
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
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
Brandon Conway
08d930a6bb
Fix vsnip_dir typo (#916) 2021-07-14 01:35:35 +04:30
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
christianchiarulli
2423fcdc90 refactor single file 2021-07-12 21:11:43 -04:00
christianchiarulli
476f7bb22f poc for refactor into one file 2021-07-12 19:30:07 -04:00
Uzaaft
ed973fdb9d
Bugfix: Fixed edition issue with rustfmt. (#881) 2021-07-11 18:15:03 +00:00
Jacek Kiedrowski
2a1acc7968
Added autosave on focus loss option and list of errors to be ignored to vimtex. (#873) 2021-07-11 18:07:08 +00:00
christianchiarulli
c294f1fb02 add write to prettier command 2021-07-11 11:34:44 -04:00
christianchiarulli
e827008120 fix prettier issue with tailwindcss 2021-07-11 11:34:00 -04:00
Abouzar Parvan
427482bea5
if you open a file from telescope, you won't have file not found issues with prettier (#879) 2021-07-11 10:01:00 -04:00
William Goulois
26c5c74303
add eslint and eslint_d to efm (#877) 2021-07-11 09:36:35 -04:00
Abouzar Parvan
c6f831f590
stylua formatter issues fixed (#867) 2021-07-11 14:41:50 +04:30
Uzaaft
457d4ca244
MISC: Typo fix, and --@usage for python and rust (#795) 2021-07-11 13:12:55 +04:30
rob
f2e4f540a3
Line wrap cursor movement option (#855) 2021-07-11 12:30:15 +04:30
Abouzar Parvan
93379a2977
avoiding OCD attack with the help of folke/todo-comments (#839) 2021-07-10 17:34:20 -04:00
Abouzar Parvan
0f7c876e93
WIP: using formatter.nvim instead of neoformat (#781) 2021-07-10 14:18:28 -04:00
Chris
076de3fe2f refactor floatterm 2021-07-10 13:27:20 -04:00
Chris
9624905ad8 refactor treesitter 2021-07-10 10:51:47 -04:00
christianchiarulli
619709eb2f refactor settings for hotswap 2021-07-10 03:19:32 -04:00
christianchiarulli
e4e8b38012 refactor settings 2021-07-10 02:38:25 -04:00
christianchiarulli
5273b1712b more config refactor 2021-07-09 21:57:55 -04:00
christianchiarulli
4ff04e31f0 config refactor 2021-07-09 21:34:12 -04:00
christianchiarulli
b8182d5aee refactor plugin config 2021-07-09 21:01:23 -04:00
christianchiarulli
0ce8dfd998 more debloat 2021-07-09 19:38:46 -04:00
christianchiarulli
bc81c31fb7 expose completion config 2021-07-09 18:09:53 -04:00
christianchiarulli
04f9f53914 PoC zen mode hot reload config and refactor 2021-07-09 17:03:22 -04:00
Abouzar Parvan
986da71d30
make shiftwidth and tabstop configurable (#818) 2021-07-09 14:26:42 -04:00
Robin Kautz
b2d4207543
option to enable spell checking (#815) 2021-07-09 11:13:34 -04:00
Jonathan Raines
6136477827
Add colorcolumn option for those who don't use indent line (#814)
* Add colorcolumn option for those who don't use indent line

* Moved comment to appropriate place
2021-07-09 10:04:01 -04:00
Chris
8890406dbd settings updates 2021-07-09 02:09:26 -04:00
Chris
d539ec951c java tool working on mac 2021-07-09 01:37:03 -04:00
Henrik Nilsson
d9fc6ec826
User config option to change Rust inline hint/param prefixes (#774)
* User configurable Rust inline hint prefixes

* Ordered the language list

* Rust param hints and ordered lang list
2021-07-08 12:58:22 -04:00
Gruak
3ec856a78d add scrolloff config option 2021-07-08 17:09:43 +02:00
Abouzar Parvan
84d6ea7a63
you can disable clipboard (#783) 2021-07-08 07:07:51 -04:00
Ramiz Sarfaraj
5e2a0df7ef
option for user to configure the cmdheight and number_width as per their liking. (#764)
* few of my changes

* option for user configuration of cmdheight and number_width
2021-07-07 13:49:28 -04:00
hui.liu
e237f26cc6
Add missing document_highlight in default config (#743) 2021-07-07 00:52:06 -04:00
Chris
00bf949fe8 custom whichkey entries 2021-07-06 21:42:26 -04:00
Jonathan Raines
f6e377fcfe
Replace LazyGit Plugin with FTerm Instance (#717)
* Replace LazyGit Plugin with FTerm Instance

* Added  gg keybind to FTerm LazyGit

* Added check to see if lazygit is installed

* Changed lazyload event to prevent error when called from dashboard on startup

* Removed lazygit plugin.  Changed Fterm lazy loading

* Made the executable check more universal for when we include other terminal applications

Co-authored-by: rebuilt <memoryman51@hotmail.com>
2021-07-06 13:40:10 -04:00
hui.liu
35e37f06da
Setup tailwindcss-ls (#729) 2021-07-06 12:18:03 -04:00
christianchiarulli
15603354ac remove plugin bloat 2021-07-06 11:30:01 -04:00
Chris
e2c336ff9f fix rainbow 2021-07-05 23:00:56 -04:00
Chris
4b04518922 fix logo 2021-07-05 22:57:00 -04:00
Anshuman Medhi
6258b2b4ba
Add Treesitter extensions for better textobjects (#700)
This adds three plugins that use treesitters parsing to provide smarter text objects

[ts_textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects) lets you define text objects for things like functions and classes

[ts_textsubjects](https://github.com/RRethy/nvim-treesitter-textsubjects.git) defines a smart text object that selects a semantic block around the cursor

[ts_hintobjects](https://github.com/mfussenegger/nvim-ts-hint-textobject) uses easymotion style hint labeling to show all the surrounding semantic blocks, letting you choose the correct one

I have also added which-key entries for all the above

Co-authored-by: Christian Chiarulli <chris.machine@pm.me>
2021-07-05 19:48:58 -04:00
Rafael
71c5cb4f0b
(feat) use neoformat as the defalt format option (#715) 2021-07-05 16:01:19 -04:00
christianchiarulli
be9a5a0889 user defined plugins 2021-07-05 15:35:06 -04:00
christianchiarulli
6b41286d70 updated autocommands for user 2021-07-05 14:49:07 -04:00
Robin Kautz
cea4976066
switch to absolute line numbers in insert mode (#702)
* switch to absolute line numbers in insert mode

* made aucmd respect cursorline setting
2021-07-05 14:37:01 -04:00
Robin Kautz
1940bd26a6
evenly resize split windows (#698)
* evenly resize split windows

* fixed indention
2021-07-05 12:02:05 -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
maxime50
d876d89c30
Remove extras Config option since extras plugins are enabled individualy now (#673)
* Remove `extras` Global Config

* remove white space

Co-authored-by: maxime50 <>
2021-07-04 22:14:09 -04:00
Rafael
9f511bcb59
start formatting rules 2021-07-04 22:14:01 -03:00