Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: minimal basic ide #17

Closed
wants to merge 30 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d8605c9
feat: start with basic lvim options and builtin configs
0x736d Oct 4, 2022
89b660c
feat: auto install treesitter parsers & some lsp servers
0x736d Oct 4, 2022
897f444
fix: disable virtual_text for diagnostics
0x736d Oct 4, 2022
8cbd476
feat(plugin): add additional colorscheme plugins
0x736d Oct 4, 2022
be6abb9
feat: add manual configurations for language servers
0x736d Oct 4, 2022
53b5b1e
feat: setup formatting and linting for common langs
0x736d Oct 4, 2022
16ba032
feat: setup codeactions using null-ls
0x736d Oct 4, 2022
9ee21db
feat(plugin): add some utility plugins
0x736d Oct 4, 2022
76c6b58
feat(plugin): add refactoring.nvim
0x736d Oct 4, 2022
05f2779
feat(plugin): add nvim-spectre & trouble.nvim with default setup options
0x736d Oct 4, 2022
3b706fe
feat(keybinds): add additional which-key mappings
0x736d Oct 4, 2022
24001e0
fix: enable autotag
0x736d Oct 4, 2022
988b2d1
chore: add .stylua.toml
0x736d Oct 4, 2022
cf691a4
chore: update .gitignore
0x736d Oct 4, 2022
619a29d
fix: remove keymap for loclist & use correct provider for type defini…
0x736d Oct 4, 2022
bf7173e
chore: update readme
0x736d Oct 4, 2022
12b0669
chore: move submission guidelines to `guidelines.md`
0x736d Oct 4, 2022
d2ac91b
chore: update readme
0x736d Oct 4, 2022
fbe163f
fix: use `vim.deepcopy` before modifying client capabilities
0x736d Oct 4, 2022
9ca5c5f
fix: add missing callbacks and options to `gopls` setup
0x736d Oct 4, 2022
157fec7
fix: remove `ensure_installed` table
0x736d Oct 6, 2022
ee4579a
fix: remove unnecessary lunarvim opts
0x736d Oct 6, 2022
2162810
fix: remove colorscheme plugins
0x736d Oct 6, 2022
e0af1bd
fix: update plugin table
0x736d Oct 6, 2022
26b31c0
fix: remove `rustfmt` from null-ls formatting sources
0x736d Oct 6, 2022
118deaa
Add .stylua.toml from Lunarvim/lunarvim (#38)
dapc11 Oct 17, 2022
d71e226
fix: pass `lvim` to `--globals` for `luacheck`
0x736d Oct 27, 2022
10b34f2
chore: rename `guidelines.md` to `CONTRIBUTING.md`
0x736d Dec 6, 2022
363f883
chore: update README.md
0x736d Dec 6, 2022
0789072
fix: update config.lua
0x736d Dec 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: update readme
  • Loading branch information
0x736d committed Oct 4, 2022
commit bf7173ef5fb29f11cb6d6fc290e465cd19184b90
61 changes: 56 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,60 @@
# starter.lvim
# starter.lvim (basic IDE)

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's move this file into .github/README.md

A great starting point for your LunarVim journey!
LostNeophyte marked this conversation as resolved.
Show resolved Hide resolved

## Submission Guidelines
## Supported languages
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Supported languages
## Available configurations


- Ideally one file!
- IDE config must be added to its own branch named `lang-ide`
- try to keep it focused on the language and not your biased keybindings/options
> **Note**
> formatting, diagnostics, completions should work out of the box for the languages below.

- C/C++
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably link to the branch

- Typescript/Javascript
- python
- go
- rust
- bash
- html
- css
- json
- yaml
- toml
- dockerfile

## Requirements

Most of the language servers will be installed automatically, but there is a few
that are manually configured and requires manual installation.

Install them with the command below

```
:MasonInstall clangd rust_analyzer gopls
```

Binaries required for diagnostics and formatting will not be automatically installed.
You need to install them using the builtin `mason.nvim` or with your favorite package
manager.

use the command below to install them with mason

```
:MasonInstall eslint_d prettier yamllint taplo goimports golangci-lint shellcheck shfmt hadolint flake8 black
```

### Additional keybinds

> **Note**
> Leader is mapped to <kbd>Space</kbd>

| Mode | Key | Action |
| ------ | ------------------------------------------ | --------------------------------------------- |
| visual | <kbd>Space</kbd>+<kbd>r</kbd>+<kbd>r</kbd> | Refactor selection |
| normal | <kbd>Space</kbd>+<kbd>P</kbd> | Project menu |
| normal | <kbd>Space</kbd>+<kbd>r</kbd>+<kbd>o</kbd> | Search and replace (open spectre panel) |
| normal | <kbd>Space</kbd>+<kbd>r</kbd>+<kbd>f</kbd> | Search and replace (search current file) |
| normal | <kbd>Space</kbd>+<kbd>r</kbd>+<kbd>c</kbd> | Search and replace (search word under cursor) |
| normal | <kbd>Space</kbd>+<kbd>t</kbd>+<kbd>w</kbc> | Workspace diagnostics |
| normal | <kbd>Space</kbd>+<kbd>t</kbd>+<kbd>d</kbc> | Document diagnostics |
| normal | <kbd>Space</kbd>+<kbd>t</kbd>+<kbd>t</kbc> | LSP Type definitions |
| normal | <kbd>Space</kbd>+<kbd>t</kbd>+<kbd>r</kbc> | LSP references |
| normal | <kbd>Space</kbd>+<kbd>t</kbd>+<kbd>q</kbc> | Quickfix |
LostNeophyte marked this conversation as resolved.
Show resolved Hide resolved