Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
release: v3.2.0, see CHANGELOG.md
Browse files Browse the repository at this point in the history
* v3.2.0: (290 commits)
  fix(functions): proper module name
  fix(CHANGELOG): add missing link to 3.2.0 release
  fix(whichkey): add missing entry for `<leader>clr` keybind
  revert: Use `vim.fn.inputlist` instead of `vim.ui` for edit config prompt (0.5 compatibility)
  docs(CHANGELOG): finish 3.2 changelog entry (yes, we just made a bible)
  docs: update CHANGELOG.md for 3.2 release (not finished yet)
  chore: format source code
  chore: Updated commit shas for pinned dependencies
  refact(treesitter): do not add http parser manually, it got merged a few weeks ago
  chore: bump Doom version \(`3.2.0-beta2` → `3.2.0`\)
  Added discord link to template
  Wording change
  Added pull request template
  Added a question template
  Added bug report and feature request issue templates
  chore: format source code
  Address luacheck issues
  Move round helper function into utils
  Improve emmylua annotations and comments
  telescope ignore pattern: must escape the '.'
  ...
  • Loading branch information
NTBBloodbath committed Dec 12, 2021
2 parents ed5a8e5 + a41039d commit 685151c
Show file tree
Hide file tree
Showing 80 changed files with 7,944 additions and 4,300 deletions.
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: 🐞 Bug
about: File a bug/issue
title: '[BUG] <title>'
labels: 'scope: bug'
assignees: ''
---

<!--
Note: Please search to see if an issue already exists for the bug you encountered.
-->

### Current Behavior:
<!-- A concise description of what you're experiencing. -->

### Expected Behavior:
<!-- A concise description of what you expected to happen. -->

### Steps To Reproduce:
<!--
Example: steps to reproduce the behavior:
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
-->

### Logs

<details>
<summary>Check Health Output</summary>

<!-- Run `:checkhealth` and paste output here ** -->

</details>

<details>
<summary>Doom Report Output</summary>

<!-- Run `:DoomReport` and copy the contents of `~/.local/share/nvim/doom_report.md` -->

</details>

### Anything else:
<!--
Links? References? Screenshots? Anything that will give us more context about the issue that you are encountering!
-->
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: 💡 Feature Request
about: File a feature request
title: '[FEATURE REQUEST] <title>'
labels: 'scope: enhancement'
assignees: ''
---

### What is the feature, what would you like to be able to do?
<!-- Provide a clear and concise description of what you want to happen. -->

### What is the use case, why do you want this feature?
<!-- Provide a clear and concise description of why this feature would help you or other users. -->

### Possible Implementation (if applicable)
<!-- If you have an idea of how this could be built, add it here. -->

### Additional context
<!--
Is there anything else you can add about the proposal?
You might want to link to related issues here, if you haven't already.
-->

15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/QUESTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: ❓ Question
about: Ask a question
title: '[QUESTION] <title>'
labels: 'scope: question'
assignees: ''
---

- [ ] I have searched open and closed issues for this question

<!-- We also have a discord channel which is also a great place to ask questions
https://discord.gg/xhvBM45zBf
-->


22 changes: 22 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/PR_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
### Description

<!-- A summary of your changes and the reasoning/motivation for making these changes. -->
<!-- If changes are complex, describe how you implemented / solved this issue -->

<!-- Link the issue this PR fixes or addresses if relevant -->
Related issue: # (issue_number)

### Type of change

<!-- Please delete options that are not relevant. -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

### Checklist

- [ ] I have checked [contributing guidelines](https://github.com/NTBBloodbath/doom-nvim/blob/main/docs/contributing.md#contributing-code)
- [ ] I have tested my code
- [ ] I have updated the documentation (if necessary)
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: format

on:
push:
paths: '**.lua'
paths: "**.lua"
branches: [main, develop]

jobs:
Expand All @@ -14,7 +14,7 @@ jobs:
uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --config-path=./.stylua.toml -g *.lua -g !doomrc.lua -g !lua/colors/**/*.lua -- .
args: --config-path=./.stylua.toml -g *.lua -g !doom_modules.lua -g !lua/colors/**/*.lua -- .
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ tags
# Backup files
.doom_releases
.doom_backup_hash
# editor artifacts
*~
*.swp
# OS files
.DS_Store
# Doom Nvim Contrib files
contribute/doom-nvim-contrib
contribute/local-share-nvim
contribute/workspace
128 changes: 124 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,125 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.2.0] - 2021-11-24

### Added

- Completely reload Doom after updating
- Hot reload plugins configurations
- Run `PackerCompile` on exit when Doom modulesor userplugins files were modified
- Automatically install or uninstall plugins on save in plugins files
- Improve debugging messages
- Better error catching
- Install http tree-sitter parser if `rest.nvim` plugin is enabled
- New languages in `doom_modules.lua` file
- New `contrib` entry in `doom_modules.lua` file, contrib module enables some documentation plugins
- Add `~/.config/nvim/doc` to neorg workspaces
- Add `statusline_show_file_path` option in `doom_config.lua` file
- Add Scala language server support out of the box (Metals)
- Override LSP using `+lsp(LSP_NAME)` syntax
- Use several LSPs using `+lsp(LSP_NAME, ANOTHER_LSP_NAME)` syntax
- Improve `netrw` look and feel
- Add `use_netrw` configuration option, decide if Doom sshoulduse netrw or nvim-tree as the file explorer
- Implement `keybinds_mdoules` option in `doom_config.lua`, enable or disable Doom keybindings modules as you wish
- Modularize keybindings
- Add extra field to custom functions in order to choose if the function should be ran on startup or if should be a global function
- Add modeline in `doom_config.lua` file [#139](https://github.com/NTBBloodbath/doom-nvim/pull/139)
- Ignore editor artifacts [#141](https://github.com/NTBBloodbath/doom-nvim/pull/141)
- Use a better syntax for Neovim folds
- Add `escape_str` function to utils module
- Add GTD (Getting Things Done) setup in Neorg
- Use `q` to quickly exit Neovim in dashboard
- Stay in visual mode after indenting a selection with `<` or `>`
- Add keybindings for `lsp_rename` functionality (`<leader>clr`)
- Add an option to turn off folding
- Improve statusline look and feel, show filetype + active language servers
- Add helper script for contributors to setup and run a docker image and create a git worktree
- Add helper script for contributors to update Doom plugins commits pins
- Provide workaround for `clang` users who run into treesitter complation issues
- Add debugging keybindings
- Add `disable_numbering` confiugration option
- Add user defined ESC sequences in `doom_config` file
- New plugins
- `nvim-lint`, async linter
- `vim-illuminate`, highlight word under cursor
- New commands
- `DoomManual`, open Doom user manual
- `DoomReport`, create a Doom crash report
- `DoomConfigs`, open a prompt to edit Doom configuration files
- `DoomConfigsReload`, reload Doom custom mappings, autocommands, etc
- `DoomInfo`, display a informational dashboard
- `DoomReload`, hot reload Doom Nvim
- New keybinds
- `<leader>di`, display a informational dashboard
- `<leader>t` section to tweak editor behaviors like numbering and spelling
- New built-in plugins
- `info`, show an useful informational dashboard
- `async`, run async system commands (e.g. running Git)
- `reloader`, reload Lua modules on the fly

### Changed

- General cleanup
- `:DoomUpdate` is now asynchronous, keep coding while Doom updates itself!
- Update doom-one colorscheme
- Reduce delay on LSP startup
- Replace built-in Neovim `.txt` docs with Neorg-based docs
- Refact configuration files handling [#108](https://github.com/NTBBloodbath/doom-nvim/pull/108)
- Invert Doom Lua modules loading order, in that way we will load Neovim configurations first
- Use `xpcall` instead of `pcall` in all modules to provide a better tracback in case of an error
- Rename all our Lua modules tables from `M` to a more logical name, e.g. `system` for system module
- Improve EmmyLua annotations and comments
- Fragment utilities module
- `fs`, filesystem utilities
- `mappings`, mappings utilities
- `modules`, Lua modules utilities
- Plugins
- Pin plugins to a certain commit to improve stability
- Lazy-load more plugins
- Do not lazy-load nvim-mapper
- Enable `neorg` by default
- Replace [nvim-compe](https://github.com/hrsh7th/nvim-compe) with [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) [#119](https://github.com/NTBBloodbath/doom-nvim/pull/119)
- Replace [nvim-lspinstall](https://github.com/kabouzeid/nvim-lspinstall) with [nvim-lsp-installer](https://github.com/williamboman/nvim-lsp-installer)
- Use NTBBloodbath's galaxyline fork
- Update `gitsigns` configurations
- Update `nvim-tree` configurations
- Update `bufferline` configurations
- Update `dap-ui` configurations [#114](https://github.com/NTBBloodbath/doom-nvim/pull/114)
- Update `neorg` tree-sitter parser files
- Use `,o` as neorg leader instead of `<leader>o`
- Drop a line from Doom logo in dashboard [#140](https://github.com/NTBBloodbath/doom-nvim/pull/140)
- Small statusline improvements for small windows

### Fixed

- Disable indent lines in norg files
- Proper conditional for enabling undodir
- Add missing entries for disabling certain plugins
- Update some plugins links
- Fix DAP auto installation
- Fix telescope indexing `.git` directory
- Fix Doom not respecting `CC` environment variable
- Fix `:DoomReport` command not including `warning`/`error` logs
- Provide Neovim 0.6 LSP API changes
- Proper precedence in paths to source Doom configuration files
- Proper example for custom options in `doom_config` file
- Make sure plugins are loaded in a correct order [#120](https://github.com/NTBBloodbath/doom-nvim/pull/120)
- Remove non-neeeded `bufdo e`. Fixes [#127](https://github.com/NTBBloodbath/doom-nvim/issues/127)
- Do not try to load `which-key.nvim` plugin if not installed. Fixes [#124](https://github.com/NTBBloodbath/doom-nvim/issues/124)
- Bufferline was not being loaded sometimes
- Run `BufEnter` autocommand after loading tree-sitter, fixes concealing on norg files
- Properly fallback to doom-one, better logging messages in UI module
- Use `0.5-compat` branch for TreeSitter when using Neovim 0.5.x
- Use `package.loaded` to check toggleterm existence in built-in modules

### Removed

- Selene linter comments and references [#106](https://github.com/NTBBloodbath/doom-nvim/pull/106)
- Do not disable syntax highlighting on launch. Closes [#131](https://github.com/NTBBloodbath/doom-nvim/issues/131)
- Remove some built-in Neovim plugins loading logic to allow them to be used
- Remove shada logic, we do not really need to temporarily disable it

## [3.1.2] - 2021-10-01

### Changed
Expand Down Expand Up @@ -51,7 +170,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `SPC - d - l` keybinding for manually reload configurations
- Windows support (note that some plugins does not work well on Windows and that's not a doom issue!)
- `SPC - d - s` keybinding now offers a live preview for the colorschemes
- `tsx` treesitter parser is now installed alongside with the typescript one, see [#84](https://github.com/NTBBloodbath/doom-nvim/issues/84)
- `tsx` tree-sitter parser is now installed alongside with the typescript one, see [#84](https://github.com/NTBBloodbath/doom-nvim/issues/84)
- Allow to override default keymappings
- Quick save with `SPC - v / m`
- Jump keybindings on which-key
Expand All @@ -60,7 +179,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- You can now add your doom-nvim configurations to your dotfiles without having to use submodules!
See [#79](https://github.com/NTBBloodbath/doom-nvim/issues/79)
- Plugins:
- New plugin: treesitter companion plugins (autotag, docs, etc)
- New plugin: tree-sitter companion plugins (autotag, docs, etc)
- New plugin: nvim-mapper, a keybindings cheatsheet
- New plugin: DAP (Debugging Adapter Protocol) support
- New plugin: trouble, better quickfix window
Expand Down Expand Up @@ -102,7 +221,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Plugins:
- Occasional bug with autosessions
- Properly lazy-load TrueZen
- Use GCC compiler for haskell treesitter parser
- Use GCC compiler for haskell tree-sitter parser
- bufferline will not be shown when:
1. Only one buffer is opened
2. While being in the dashboard
Expand Down Expand Up @@ -557,7 +676,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial stable release

[unreleased]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.1.2...develop
[unreleased]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.2.0...develop
[3.2.0]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.1.2...v3.2.0
[3.1.2]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.1.1...v3.1.2
[3.1.1]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.1.0...v3.1.1
[3.1.0]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.13...v3.1.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Its design is guided by these mantras:
- GNU `find`
- [ripgrep] 11.0+ or [fd] 7.3.0+ (optional but highly recommended, improves file indexing performance for some commands)
- `nodejs` and `npm` (optional, required to use some Language Server Protocols)
- `wget`, `unzip` (optional, required for auto installing LSPs)

Doom is comprised of [~40 optional plugins][modules], some of which may have
additional dependencies. [Please visit their documentation][modules].
Expand Down
2 changes: 1 addition & 1 deletion colors/doom-one.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ end
vim.g["colors_name"] = "doom-one"

package.loaded["colors.doom-one"] = nil
require("colors.doom-one")
require("colors.doom-one").load_colorscheme()
52 changes: 52 additions & 0 deletions contribute/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
FROM archlinux:latest

LABEL \
maintainer="n.debonnaire@gmail.com" \
url.github="https://github.com/nicodebo/neovim-docker" \
url.dockerhub="https://hub.docker.com/r/nicodebo/neovim-docker/"

ENV \
UID="1000" \
GID="1000" \
UNAME="doom" \
GNAME="doom" \
SHELL="/bin/bash" \
WORKSPACE="" \
NVIM_CONFIG="/home/doom/.config/nvim" \
PATH="/home/doom/.local/bin:${PATH}"

# Update repositories
RUN pacman -Syy

# Install neovim
RUN pacman -Sy neovim --noconfirm

# Install runtime dependencies of doom-nvim
RUN pacman -Sy ripgrep nodejs-lts-fermium npm git bash gcc jq --noconfirm

# Required for nvim-lsp-installer
RUN pacman -Sy wget unzip

# Required for watching Doom-nvim-contrib for changes
RUN npm i -g chokidar-cli

# Create the doom user and group
RUN groupadd doom
RUN useradd -m -g doom doom

RUN mkdir /usr/local/lib/node_modules
RUN chown -R ${UNAME}:${GNAME} /usr/local/lib/node_modules/

USER doom
WORKDIR /home/doom

COPY _docker_entry.sh /usr/local/bin/

# Doom-nvim-contrib
VOLUME "~/.config/nvim"
# For storing packer plugins
VOLUME "~/.local/share/nvim"
# Files and projects for testing on disk
VOLUME "~/workspace"

ENTRYPOINT ["sh", "/usr/local/bin/_docker_entry.sh"]
Loading

0 comments on commit 685151c

Please sign in to comment.