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

Commit 2788e63

Browse files
committed
chore: merge branch 'main' into 'develop'
2 parents d33836d + f2358f8 commit 2788e63

File tree

5 files changed

+172
-3
lines changed

5 files changed

+172
-3
lines changed

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: release
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
release:
9+
name: Release to GitHub
10+
if: contains(github.event.head_commit.message, 'release:') && github.repository == 'NTBBloodbath/doom-nvim'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
repository: ${{ github.repository }}
16+
path: "workspace"
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
19+
- name: Setup Release information
20+
run: |
21+
versionName=`sed '12q;d' ./workspace/lua/doom/utils/init.lua | cut -d "\"" -f2 | xargs`
22+
export VERSION_NAME=$versionName
23+
echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_ENV
24+
25+
- name: Extract release notes
26+
id: extract-release-notes
27+
uses: ffurrer2/extract-release-notes@v1
28+
with:
29+
changelog_file: ./workspace/CHANGELOG.md
30+
31+
- name: Create Release
32+
uses: Xotl/cool-github-releases@v1
33+
with:
34+
mode: update
35+
isDraft: false
36+
isPrerelease: false
37+
tag_name: v${{ env.VERSION_NAME }}
38+
release_name: v${{ env.VERSION_NAME }}
39+
body_mrkdwn: ${{ steps.extract-release-notes.outputs.release_notes }}
40+
github_token: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 110 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,110 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [3.1.0] - 2021-08-26
11+
12+
### Added
13+
14+
- Options field to `doom_config.lua`, see [#62](https://github.com/NTBBloodbath/doom-nvim/pull/62)
15+
- New prompt for editing doom configurations
16+
- Better internal errors handling
17+
- Allow to use options (e.g. silent) in the custom mappings
18+
- Custom settings defined on `doom_config.lua` are automatically reloaded
19+
- `SPC - d - l` keybinding for manually reload configurations
20+
- Windows support (note that some plugins does not work well on Windows and that's not a doom issue!)
21+
- `SPC - d - s` keybinding now offers a live preview for the colorschemes
22+
- `tsx` treesitter parser is now installed alongside with the typescript one, see [#84](https://github.com/NTBBloodbath/doom-nvim/issues/84)
23+
- Allow to override default keymappings
24+
- Quick save with `SPC - v / m`
25+
- Jump keybindings on which-key
26+
- Keybindings to move lines (`Alt + j / k`)
27+
- `win_width` option, for automatically setting the windows width
28+
- You can now add your doom-nvim configurations to your dotfiles without having to use submodules!
29+
See [#79](https://github.com/NTBBloodbath/doom-nvim/issues/79)
30+
- Plugins:
31+
- New plugin: treesitter companion plugins (autotag, docs, etc)
32+
- New plugin: nvim-mapper, a keybindings cheatsheet
33+
- New plugin: DAP (Debugging Adapter Protocol) support
34+
- New plugin: trouble, better quickfix window
35+
- New plugin: todo-comments.nvim, better TODO comments
36+
- New plugin: superman, man pages integration
37+
- New plugin: ranger, file browser integration
38+
- New plugin: firenvim, use Neovim in your favorite web browser!
39+
- New plugin: registers.nvim, show contents of each register on a popup window
40+
- Added more dynamic color palettes to galaxyline (e.g. nord, dracula, tokyonight)
41+
42+
### Changed
43+
44+
- Assume `~/.config/nvim` rather than `~/.config/doom-nvim`, see [#41](https://github.com/NTBBloodbath/doom-nvim/pull/41)
45+
- Autocommands and keybindings now lives in `doom.extras` instead of `doom.core`
46+
- Use a custom toggleterm instance for running and compiling code
47+
- `<leader><space>` keybind is now `<leader>` + \`
48+
- Format files before saving them instead of saving and formatting later
49+
- Improved crash report (`SPC - d - R`) output
50+
- undodir is now located at `~/.local/share/nvim`
51+
- We have adopted a more saner and common coding style:
52+
- Spaces over tabs
53+
- Two spaces for indentation
54+
- Plugins:
55+
- Changed some packer defaults for cloning, should speed up the cloning step with heavy size plugins like plenary
56+
- Changed kommentary lazy-loading event
57+
- Changed nvim-compe lazy-loading event
58+
- Improved how which-key plugin is being lazy-loaded
59+
- Updated TrueZen configurations
60+
- Updated gitsigns configurations
61+
- Lua LSP configurations are now handled by lua-dev.nvim plugin
62+
- session-lens was replaced by persistence.nvim
63+
- Improved some dashboard icons
64+
- indent-blankline character is now full height
65+
- Saner telescope configurations
66+
67+
### Fixed
68+
69+
- Respect `XDG_CONFIG_HOME` environment variable
70+
- Plugins:
71+
- Occasional bug with autosessions
72+
- Properly lazy-load TrueZen
73+
- Use GCC compiler for haskell treesitter parser
74+
- bufferline will not be shown when:
75+
1. Only one buffer is opened
76+
2. While being in the dashboard
77+
- Add extra whitespace to some icons on galaxyline
78+
- Disable indent-blankline on norg files
79+
80+
### Deleted
81+
82+
- "Async" logic, it was not true async so we don't need it anymore
83+
- Installer, doom-nvim can be installed with just two commands. Now you can have truly power over
84+
the installation process and a very transparent installation
85+
- Unneeded `:checkhealth` add-on
86+
- Plugins:
87+
- lspsaga, we are now using the built-in functionalities for LSP (hover doc, etc)
88+
89+
## [3.0.13] - 2021-08-24
90+
91+
### Fixed
92+
93+
- Use `stdpath("config")` for configuration paths instead of `~/.config/doom-nvim` because doom-nvim is actually symlinked, respect `XDG_CONFIG_HOME` (see [#101](https://github.com/NTBBloodbath/doom-nvim/pull/101))
94+
- Update `<leader>dc` to match new config setup, ref [#101](https://github.com/NTBBloodbath/doom-nvim/pull/101). See [#102](https://github.com/NTBBloodbath/doom-nvim/pull/102)
95+
96+
## [3.0.12] - 2021-08-22
97+
98+
### Fixed
99+
100+
- Proper conditional for triggering dashboard-nvim plugin, check if it's in the packer_plugins table
101+
102+
## [3.0.11] - 2021-08-20
103+
104+
### Fixed
105+
106+
- Added missing `undodir` option
107+
108+
## [3.0.10] - 2021-08-20
109+
110+
### Fixed
111+
112+
- `undodir` was not working as expected
113+
10114
## [3.0.9] - 2021-08-04
11115

12116
### Fixed
@@ -421,7 +525,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
421525

422526
- Initial stable release
423527

424-
[unreleased]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.9...develop
528+
[unreleased]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.1.0...develop
529+
[3.1.0]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.13...v3.1.0
530+
[3.0.13]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.12...v3.0.13
531+
[3.0.12]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.11...v3.0.12
532+
[3.0.11]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.10...v3.0.11
533+
[3.0.10]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.9...v3.0.10
425534
[3.0.9]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.8...v3.0.9
426535
[3.0.8]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.7...v3.0.8
427536
[3.0.7]: https://github.com/NTBBloodbath/doom-nvim/compare/v3.0.6...v3.0.7

docs/getting_started.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,26 @@ which nvim
121121
nvim --version
122122
```
123123

124+
```
125+
# unpack the binary
126+
tar xzvf nvim-linux64.tar.gz
127+
128+
# create a directory to store the unpacked folder
129+
sudo mkdir /opt/nvim
130+
131+
# move the unpacked binary
132+
sudo mv nvim-linux64 /opt/nvim
133+
134+
# add the neovim executable to somewhere in your path
135+
# ex: /usr/bin OR $HOME/.local/bin
136+
sudo ln -s /opt/nvim/nvim-linux64/bin/nvim /usr/bin/nvim
137+
138+
# should print /usr/bin/nvim
139+
which nvim
140+
141+
# should print NVIM 0.5
142+
nvim --version
143+
```
124144
### External dependencies
125145

126146
#### On Linux

lua/doom/core/settings/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ M.load_default_options = function()
113113
end
114114

115115
-- Checks to see if undo_dir does not exist. If it doesn't, it will create a undo folder
116-
local undo_dir = vim.fn.stdpath("config") .. config.doom.undo_dir
116+
local undo_dir = vim.fn.stdpath("data") .. config.doom.undo_dir
117117
if config.doom.backup and vim.fn.empty(vim.fn.glob(undo_dir)) >= 0 then
118118
if vim.fn.isdirectory(undo_dir) ~= 1 then
119119
vim.api.nvim_command("!mkdir -p " .. undo_dir)

lua/doom/modules/config/doom-blankline.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ return function()
33

44
require("indent_blankline").setup({
55
enabled = config.doom.show_indent,
6-
char = "|",
6+
char = "",
77
-- If treesitter plugin is enabled then use its indentation
88
use_treesitter = require("doom.core.functions").check_plugin("nvim-treesitter", "opt")
99
and true

0 commit comments

Comments
 (0)