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

Update #1

Closed
wants to merge 44 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
2377390
Update README (#832)
hoangvietdo Apr 8, 2024
e2bfa0c
Arch, btw (#852)
rdvm Apr 16, 2024
fabeb86
Comment about nerd font selection. Fixes #853 (#854)
dam9000 Apr 17, 2024
6d6b3f3
Fix: #847 - add prefer_git to treesitter config (#856)
feoh Apr 17, 2024
5540527
Enable inlay hints for the supporting servers (#843)
VlaDexa Apr 17, 2024
5e258d2
Move plugin examples from README to optional plugin files (#831)
dam9000 Apr 17, 2024
f5c9fe8
Add gitsigns recommended keymaps as an optional plugin (#858)
dam9000 Apr 18, 2024
b07176a
fix: restore Mason config timing for DAP startup (again) (#865)
GameFuzzy Apr 19, 2024
931ec5c
Update README.md (#860)
EvanCarroll Apr 20, 2024
9f5176f
Minor improvements of debian install instructions. Fixes #859 (#869)
dam9000 Apr 20, 2024
2e68a2c
Add a commented out example of the classic complete keymaps. Fixes #8…
dam9000 Apr 20, 2024
f92fb11
Fix deprecation notice of inlay hints (#873)
VlaDexa Apr 22, 2024
81f270a
Fix highlight errors when lsp crash or stop (#864)
sudo-tee Apr 22, 2024
942b261
fix: highlight group clear on each attach (#874)
sudo-tee Apr 22, 2024
8df3deb
Update README.md (#875)
adoante Apr 22, 2024
b7d5cc8
README: add clipboard tool dependency (#886)
dam9000 Apr 27, 2024
6f6f38a
Move LspDetach handler near kickstart-lsp-highlight group (#900)
dam9000 May 2, 2024
f86f18f
Add diff to treesitter's ensure_installed languages (#908)
rmacklin May 6, 2024
b9bd02d
fix: debug.lua (#918)
smiggiddy May 8, 2024
5aeddfd
Automatically set detached state as needed. (#925)
PerMalmberg May 10, 2024
5e43123
Added relative line number
andreiblt1304 Jun 26, 2024
2b354c0
Added custom config file
andreiblt1304 Jun 26, 2024
84275d1
Added code completion on Enter + Neotree command
andreiblt1304 Jun 28, 2024
ce6a459
Added neotree to be opened with float mode
andreiblt1304 Jul 8, 2024
524543c
Added web devicons
andreiblt1304 Jul 9, 2024
a965cc8
Added LazyGit
andreiblt1304 Jul 10, 2024
7b83929
Fixed LazyGit
andreiblt1304 Jul 10, 2024
1deb634
Added first commit for rust debugging
andreiblt1304 Jul 10, 2024
93b8e48
Added plugin for easier terminal usage
andreiblt1304 Jul 10, 2024
cc1c80c
test commit
andreiblt1304 Jul 12, 2024
5ffef98
Updated key mappings
andreiblt1304 Jul 17, 2024
676582e
which-key v3 update (#1022)
VlaDexa Jul 16, 2024
959a163
fix(lazy): added error handling for bootstrap (#1001)
folke Jul 16, 2024
1b18689
Added window picker and another theme
andreiblt1304 Jul 18, 2024
702bf5c
fix: add required parsers from nvim-treesitter
tjdevries Jul 18, 2024
e4d3d47
Fix neo-tree keymap description (#932)
dam9000 Jul 21, 2024
0d13798
Make debug lazy loadable (#978)
VlaDexa Jul 21, 2024
7324701
Update README.md | %userprofile%\appdata\local -> %localappdata% (#963)
MZhuvka Jul 21, 2024
a7bb5ab
Make conform.nvim be lazy-loadable again (#977)
VlaDexa Jul 21, 2024
cec70ef
Fix comment about mini.ai example (#985)
rmacklin Jul 21, 2024
aad2148
Neovim 0.10 updates (#936)
VlaDexa Jul 22, 2024
97b988c
Update lazydev config to fix "Undefined field `fs_stat`" LSP error (#…
rmacklin Jul 22, 2024
1ba8a78
lint: fix lsp warning in `vim.lsp.inlay_hint.is_enabled` (#947)
srdtrk Jul 22, 2024
c5904f2
Update comment about the toggle inlay hints keymap (#1041)
rmacklin Jul 22, 2024
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
102 changes: 28 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ If you are experiencing issues, please make sure you have the latest versions.
External Requirements:
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
- Language Setup:
Expand All @@ -45,8 +46,8 @@ Neovim's configurations are located under the following paths, depending on your
| OS | PATH |
| :- | :--- |
| Linux, MacOS | `$XDG_CONFIG_HOME/nvim`, `~/.config/nvim` |
| Windows (cmd)| `%userprofile%\AppData\Local\nvim\` |
| Windows (powershell)| `$env:USERPROFILE\AppData\Local\nvim\` |
| Windows (cmd)| `%localappdata%\nvim\` |
| Windows (powershell)| `$env:LOCALAPPDATA\nvim\` |

#### Recommended Step

Expand Down Expand Up @@ -76,13 +77,13 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
If you're using `cmd.exe`:

```
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
git clone https://github.com/nvim-lua/kickstart.nvim.git %localappdata%\nvim\
```

If you're using `powershell.exe`

```
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
git clone https://github.com/nvim-lua/kickstart.nvim.git $env:LOCALAPPDATA\nvim\
```

</details>
Expand All @@ -99,71 +100,10 @@ That's it! Lazy will install all the plugins you have. Use `:Lazy` to view
current plugin status. Hit `q` to close the window.

Read through the `init.lua` file in your configuration folder for more
information about extending and exploring Neovim.
information about extending and exploring Neovim. That also includes
examples of adding popularly requested plugins.


#### Examples of adding popularly requested plugins

NOTE: You'll need to uncomment the line in the init.lua that turns on loading custom plugins.

<details>
<summary>Adding autopairs</summary>

This will automatically install [windwp/nvim-autopairs](https://github.com/windwp/nvim-autopairs)
and enable it on startup. For more information, see documentation for
[lazy.nvim](https://github.com/folke/lazy.nvim).

In the file: `lua/custom/plugins/autopairs.lua`, add:

```lua
-- File: lua/custom/plugins/autopairs.lua

return {
"windwp/nvim-autopairs",
-- Optional dependency
dependencies = { 'hrsh7th/nvim-cmp' },
config = function()
require("nvim-autopairs").setup {}
-- If you want to automatically add `(` after selecting a function or method
local cmp_autopairs = require('nvim-autopairs.completion.cmp')
local cmp = require('cmp')
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)
end,
}
```

</details>
<details>
<summary>Adding a file tree plugin</summary>

This will install the tree plugin and add the command `:Neotree` for you.
For more information, see the documentation at
[neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim).

In the file: `lua/custom/plugins/filetree.lua`, add:

```lua
-- File: lua/custom/plugins/filetree.lua

return {
"nvim-neo-tree/neo-tree.nvim",
version = "*",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
},
config = function ()
require('neo-tree').setup {}
end,
}
```

</details>

### Getting Started

[The Only Video You Need to Get Started with Neovim](https://youtu.be/m8C0Cq9Uv9o)
Expand Down Expand Up @@ -243,7 +183,7 @@ wsl --install
wsl
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep unzip neovim
sudo apt install make gcc ripgrep unzip git xclip neovim
```
</details>

Expand All @@ -253,23 +193,37 @@ sudo apt install make gcc ripgrep unzip neovim
```
sudo add-apt-repository ppa:neovim-ppa/unstable -y
sudo apt update
sudo apt install make gcc ripgrep unzip neovim
sudo apt install make gcc ripgrep unzip git xclip neovim
```
</details>
<details><summary>Debian Install Steps</summary>

```
sudo apt update
sudo apt install make gcc ripgrep unzip git
echo "deb https://deb.debian.org/debian unstable main" | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install -t unstable neovim
sudo apt install make gcc ripgrep unzip git xclip curl

# Now we install nvim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim-linux64
sudo mkdir -p /opt/nvim-linux64
sudo chmod a+rX /opt/nvim-linux64
sudo tar -C /opt -xzf nvim-linux64.tar.gz

# make it available in /usr/local/bin, distro installs to /usr/bin
sudo ln -sf /opt/nvim-linux64/bin/nvim /usr/local/bin/
```
</details>
<details><summary>Fedora Install Steps</summary>

```
sudo dnf install -y gcc make git ripgrep fd-find neovim
sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
```
</details>

<details><summary>Arch Install Steps</summary>

```
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
```
</details>

Loading
Loading