Skip to content

Commit 2f6a1fd

Browse files
authored
Alpha 0.1.0 릴리즈 (#40)
* Feat/telescope reconfig (#10) * chore: preview 보이게 하는 설정 알아냄 #5 * chore: eslint_d 주석처리 #6 * feat: code action 추가 #5 * refactor: lsp 리팩토링 정리 #6 * refactor: 설치를 먼저 실행하고 설정을 한번에 함 #5 - preview 안보이는 이유 추가 * fix: LSP 확성 설치 설정 #5 * feat: undotree 설치 #11 (#12) * feat: lsp 관련된 키맵 추가 #13 (#23) * doc: 윈도우 사용자를 위한 설명 추가 #24 (#28) * feat: 좌우 탭이동 키맵 연결 #16 (#30) * feat: treesitter/playground 설치 #17 (#31)
1 parent 5d6e9fe commit 2f6a1fd

File tree

10 files changed

+340
-127
lines changed

10 files changed

+340
-127
lines changed

.luarc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"diagnostics.globals": [
3+
"vim"
4+
]
5+
}

README.md

Lines changed: 55 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,46 @@
11
# arch-spatula의 NEOVIM Setup
22

3+
<div style="text-align:center" align="center">
4+
<div>
5+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
6+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⠟⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
7+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⡴⠟⠁⠀⠀⠻⣦⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
8+
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⣴⠶⠶⣦⣤⣤⣠⡴⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠉⠙⠛⠶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
9+
⠀⠀⠀⠀⠀⠀⠀⠀⢀⠜⠋⠁⠀⠀⠀⠀⢸⡌⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠶⣤⣀⠀⠀⠀⢀⣠⣤⠀⠀⠀
10+
⠀⠀⠀⠀⠀⠀⢀⡴⠗⠒⠊⠁⠀⠒⠤⢤⣀⡷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⠶⠟⠛⠉⣿⠀⠀⠀
11+
⣀⡀⠀⠀⣠⣶⠋⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠁⠀⠀⢠⣶⡆⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡿⠀⠀⠀
12+
⠉⠉⣻⠿⢡⡇⠀⠀⠀⠀⠀⠀⠀⣠⣾⠋⠀⠀⠀⠀⠈⠉⠁⠘⠷⠶⢷⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠃⠀⠀⠀
13+
⢀⡼⠁⠀⠈⢷⡦⠤⠤⠤⠤⠔⢋⣿⠿⣤⣄⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⠀⢠⣿⡆⠀⠀⠀⠀⠀⣀⣠⡴⠀⠀⣿⠀⠀⠀⠀
14+
⢾⡇⢀⠀⠀⠈⢳⣤⠤⠤⠤⠔⠋⠁⠀⠀⠈⠉⠙⠛⠓⠶⠦⣤⣤⣀⡀⠀⠀⠀⠀⠀⠀⠉⠀⠀⠀⢀⣴⠟⠉⠀⠀⠀⠀⠙⢷⡀⠀⠀
15+
⣸⠁⠀⠙⠢⣀⢈⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠉⠛⠛⠲⠶⢤⣤⣤⣀⡤⠖⠛⠁⡄⠀⠀⠀⠀⠀⠀⠈⣷⠀⠀
16+
⢹⡀⠀⠀⢒⣒⣸⡷⢶⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠞⠁⠀⠀⠀⠀⢱⠀⠀⠀⠀⠀⠀⠀⠸⣇⠀
17+
⠘⣇⠀⠳⣆⣀⣉⣹⣾⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⣠⠤⢄⡀⠀⠀⠀⣀⡤⠶⠶⠶⠶⢧⣀⣀⠀⠀⣀⡤⠟⣦⡀⠀⠀⠀⠓⠒⣶⣿⣤
18+
⠀⣿⡀⡀⢀⣈⠉⢉⣿⠞⠁⠀⠀⠀⠀⢀⣤⠾⠿⠛⠓⠒⠛⠒⠒⠩⣁⣀⣀⠀⠀⠀⠀⢀⡠⠋⠀⠀⠀⠀⠈⠻⠶⢶⣤⣤⡾⠏⠀⠈
19+
⠀⡘⣷⣼⡀⣠⢌⣽⠇⠀⠀⠀⠀⠀⠀⢈⡧⠤⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡀⠀⢀⡠⠒⢀⣠⡴⠛⠋⠁⠀⠀⠀⠀
20+
⠀⠀⠈⠙⠛⠛⠛⠋⠀⠀⠀⠀⠀⠀⠀⠉⢷⡆⠀⠈⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢉⣉⡠⠴⠿⠓⠚⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀
21+
⠀⠀⠀⠀⠀⠀⠈⢠⠄⠀⠀⠀⠀⠀⠀⠀⠘⠷⣦⣀⣀⣠⣤⡶⠶⠛⠓⠒⠒⠒⠛⠓⠛⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
22+
⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢫⠭⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
23+
⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠠⠖⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
24+
</div>
25+
</div>
26+
327
저의 개인적인 neovim 설정입니다.
428

529
neovim 에디터로 주로 C언어처럼 GC가 없는 언어 위주로 다룰 때 사용하고자 합니다.
630

731
## 설치
832

933
```sh
34+
# Linux / Macos (unix)
1035
git clone https://github.com/arch-spatula/neovim-setup.git ~/.config/nvim --depth 1 && nvim
1136
```
1237

38+
```sh
39+
# Windows PowerShell 관리자 모드
40+
# nvim 커맨드는 따로 해주세요
41+
git clone https://github.com/arch-spatula/neovim-setup.git $ENV:USERPROFILE\AppData\Local\nvim --depth 1
42+
```
43+
1344
제가 설정한 neovim을 위 명령으로 ~~멀웨어와 함께~~ 설치할 수 있습니다.
1445

1546
### 삭제
@@ -21,23 +52,41 @@ rm -rf ~/.local/share/nvim
2152
```
2253

2354
```sh
24-
# Windows
25-
rd -r ~\AppData\Local\nvim
26-
rd -r ~\AppData\Local\nvim-data
55+
# Window PowerShell 관리자 모드
56+
rm -Force ~\AppData\Local\nvim
57+
rm -Force ~\AppData\Local\nvim-data
2758
```
2859

2960
먼저 기존 neovim을 삭제하기 바랍니다.
3061

31-
### 편집
62+
### experimental 버전 및 편집
63+
64+
공개되고 작업 중인 원격 브랜치로 변경을 시도할 수 있습니다.
3265

3366
```sh
67+
# Linux / Macos (unix)
3468
git clone https://github.com/arch-spatula/neovim-setup ~/.config/nvim/ && cd .config/nvim && nvim
3569
```
3670

3771
git 히스토리를 가져오고 작업을 위한 clone 방식입니다.
3872

73+
```sh
74+
# Windows PowerShell 관리자 모드
75+
# nvim 커맨드는 따로 해주세요
76+
git clone https://github.com/arch-spatula/neovim-setup.git $ENV:USERPROFILE\AppData\Local\nvim
77+
```
78+
79+
```sh
80+
cd # 루트로 이동
81+
cd $ENV:USERPROFILE\AppData\Local\nvim
82+
```
83+
84+
윈도우는 C 드라이브부터 시작해서 `AppData\Local\nvim`를 접근하기 바랍니다.
85+
3986
## Mason 목록
4087

88+
<!-- @todo: 설치한 LSP 목록 나열하기 -->
89+
4190
```
4291
clang-format
4392
clangd
@@ -55,7 +104,5 @@ vim-language-server vimls
55104

56105
## 터미널
57106

58-
[warp pad](https://www.warp.dev/) 터미널을 사용합니다.
59-
60-
<!-- @todo: 설치한 LSP 목록 나열하기 -->
61-
107+
- 맥은 [warp pad](https://www.warp.dev/) 터미널을 사용합니다.
108+
<!--- 원도우는 [warp pad](https://www.warp.dev/) 터미널을 사용합니다.-->

lua/plugins/comments.lua

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,16 @@ return {
6060
{
6161
"preservim/nerdcommenter",
6262
config = function()
63-
-- leader + / 에 주석 처리 -> 아직 완성 못함 지금은 leader + c 로 주석처리함
64-
local modes = { 'n', 'v' }
63+
--leader + / 에 주석 처리 -> 아직 완성 못함 지금은 leader + c 로 주석처리함
64+
local modes = { "n", "v" }
6565
for i in pairs(modes) do
66-
vim.keymap.set(modes[i], '<leader>c', ':call nerdcommenter#Comment(0, "toggle")<CR>',
67-
{ noremap = true, silent = true })
66+
vim.keymap.set(
67+
modes[i],
68+
"<leader>gc",
69+
':call nerdcommenter#Comment(0, "toggle")<CR>',
70+
{ noremap = true, silent = true }
71+
)
6872
end
69-
end
70-
}
73+
end,
74+
},
7175
}

lua/plugins/formatter.lua

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ return {
44
local null_ls = require("null-ls")
55
null_ls.setup({
66
sources = {
7+
-- 공통
8+
null_ls.builtins.completion.spell,
9+
10+
--lua
711
null_ls.builtins.formatting.stylua,
8-
null_ls.builtins.diagnostics.eslint_d,
12+
13+
-- JavaScript & TypeScript
14+
--null_ls.builtins.diagnostics.eslint,
15+
--eslint_language_server으로 대체
916
null_ls.builtins.formatting.prettierd,
10-
null_ls.builtins.completion.spell,
1117
},
1218
})
13-
vim.keymap.set('n', '<leader>gf', vim.lsp.buf.format, {})
14-
end
19+
20+
vim.keymap.set("n", "<leader>gf", vim.lsp.buf.format, { desc = "[g]o [f]ormat" })
21+
end,
1522
}

lua/plugins/greeter.lua

Lines changed: 34 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -27,44 +27,43 @@ return {
2727
}
2828

2929
local classicPusheenCat = {
30-
[[⠀⠀⠀⠀⠀⠀⠀⡠⠖⢤⡀⠀⠀⠀⠀⠀⢀⠔⠲⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
31-
[[⠀⠀⠀⠀⠀⠀⡜⠀⠀⠀⠑⣆⣀⣀⣀⣀⠎⠀⠀⠈⢣⡀⠤⠤⢴⣶⣶⣦⡤⣤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
32-
[[⠀⠀⠀⠀⠀⢰⠁⠀⠀⠀⠀⠛⠙⠟⠘⠟⠀⠀⠀⠀⠀⠀⠀⠀⡘⡿⠯⠟⠀⢿⣿⣿⠟⠒⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
33-
[[⠀⠉⠈⢉⡁⡇⠀⠀⢠⣶⣄⠀⡀⣶⢀⠀⢠⣶⡄⠀⠀⣊⣉⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢢⠀⠀⠀⠀⠀⠀⢀⠀⠀]],
34-
[[⠈⠉⠁⠀⢸⠂⠀⠀⠈⠉⠁⠈⠛⠛⠛⠀⠈⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠱⡀⠀⠀⢠⣾⣿⣿⠆]],
35-
[[⠀⠀⠀⠀⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⣠⣿⣄⢙⠏⠀]],
36-
[[⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠘⢿⡿⠋⠀⠀]],
37-
[[⠀⠀⠀⢠⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠦⠚⠁⠀⠀⠀]],
38-
[[⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀]],
39-
[[⠀⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡎⠀⠀⠀⠀⠀⠀⠀]],
40-
[[⠀⠀⠀⠀⢡⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠁⠀⠀⠀⠀⠀⠀⠀]],
41-
[[⠀⠀⠀⠀⠀⠣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠃⠀⠀⠀⠀⠀⠀⠀⠀]],
42-
[[⠀⠀⠀⠀⠀⠀⠙⠦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
43-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠸⣀⡰⠒⠒⠒⠒⢲⠂⢰⠖⠒⠒⠒⠒⠒⠒⢆⣀⠶⠒⠒⠒⠒⢆⣠⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
44-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
45-
[[⠀⠀⠀⠀⠀⠀⠀⠛⠂⠒⠒⠐⠒⠒⠒⠒⠒⠒⠒⠒⠐⠓⠒⠓⠚⠓⠒⠐⠐⠒⠒⠓⠒⠲⠒⠓⠐⠛⠓⠒⠒⠀⠀⠀⠀⠀]],
46-
30+
[[⠀⠀⠀⠀⠀⠀⠀⡠⠖⢤⡀⠀⠀⠀⠀⠀⢀⠔⠲⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
31+
[[⠀⠀⠀⠀⠀⠀⡜⠀⠀⠀⠑⣆⣀⣀⣀⣀⠎⠀⠀⠈⢣⡀⠤⠤⢴⣶⣶⣦⡤⣤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
32+
[[⠀⠀⠀⠀⠀⢰⠁⠀⠀⠀⠀⠛⠙⠟⠘⠟⠀⠀⠀⠀⠀⠀⠀⠀⡘⡿⠯⠟⠀⢿⣿⣿⠟⠒⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
33+
[[⠀⠉⠈⢉⡁⡇⠀⠀⢠⣶⣄⠀⡀⣶⢀⠀⢠⣶⡄⠀⠀⣊⣉⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⢢⠀⠀⠀⠀⠀⠀⢀⠀⠀]],
34+
[[⠈⠉⠁⠀⢸⠂⠀⠀⠈⠉⠁⠈⠛⠛⠛⠀⠈⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠱⡀⠀⠀⢠⣾⣿⣿⠆]],
35+
[[⠀⠀⠀⠀⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢣⠀⣠⣿⣄⢙⠏⠀]],
36+
[[⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠘⢿⡿⠋⠀⠀]],
37+
[[⠀⠀⠀⢠⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠦⠚⠁⠀⠀⠀]],
38+
[[⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀]],
39+
[[⠀⠀⠀⠀⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡎⠀⠀⠀⠀⠀⠀⠀]],
40+
[[⠀⠀⠀⠀⢡⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠁⠀⠀⠀⠀⠀⠀⠀]],
41+
[[⠀⠀⠀⠀⠀⠣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠃⠀⠀⠀⠀⠀⠀⠀⠀]],
42+
[[⠀⠀⠀⠀⠀⠀⠙⠦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⠔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
43+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠸⣀⡰⠒⠒⠒⠒⢲⠂⢰⠖⠒⠒⠒⠒⠒⠒⢆⣀⠶⠒⠒⠒⠒⢆⣠⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
44+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
45+
[[⠀⠀⠀⠀⠀⠀⠀⠛⠂⠒⠒⠐⠒⠒⠒⠒⠒⠒⠒⠒⠐⠓⠒⠓⠚⠓⠒⠐⠐⠒⠒⠓⠒⠲⠒⠓⠐⠛⠓⠒⠒⠀⠀⠀⠀⠀]],
4746
}
4847

4948
local classicPusheenCat = {
50-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⡀⠀⠀⠀⠀⠀⠀⠀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀]],
51-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⡀⠀⠀⠀⢀⣾⠋⠉⢿⣆⠀⠀⠀⠀⢀⣾⠟⠙⢿⣄⠀⠀⠀⠀⠀⠀]],
52-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⢿⣿⢻⡛⠛⢛⡟⠛⠛⠿⠿⠃⠀⠀⠀⠻⣿⢿⣿⢿⣿⠁⠀⠀⠀⢻⡆⠀⠀⠀⠀⠀]],
53-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡾⠋⠫⣀⡠⠃⠀⠑⠶⠚⣥⣀⣀⡀⠀⠀⠀⠀⠀⠀⠋⠀⠋⠈⠋⠀⠀⠀⠀⠈⣿⡀⣀⣀⣀⡀]],
54-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⣉⣉⣛⠃⠀⠀⣴⣦⠀⠀⠀⣦⠀⠀⢠⣶⡄⠀⠀⢸⣟⠛⠉⠉⠁]],
55-
[[⢰⣿⣿⣦⠀⠀⠀⠀⣰⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠛⠛⠛⠃⠀⠀⠛⠛⠀⠘⠿⠻⠟⠀⠘⠛⠃⠀⠀⠈⣿⠛⠛⠛⠃]],
56-
[[⢸⣯⠟⠛⣷⡀⠀⢠⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀]],
57-
[[⠀⠹⣧⣴⣿⡿⢶⣾⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀]],
58-
[[⠀⠀⠘⢿⣮⡀⡞⢹⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
59-
[[⠀⠀⠀⠀⠈⠛⢿⣾⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
60-
[[⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
61-
[[⠀⠀⠀⠀⠀⠀⠀⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠀⠀⠀]],
62-
[[⠀⠀⠀⠀⠀⠀⠀⠈⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀]],
63-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠹⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡿⠁⠀⠀⠀]],
64-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣰⡟⠁⠀⠀⠀⠀]],
65-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⡾⠋⠀⠀⠀⠀⠀⠀]],
66-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣤⡿⠛⠛⠛⠛⢿⣤⣿⠛⠛⠛⠛⠛⠛⠛⢿⣤⣾⠛⠛⠛⠛⠻⣧⣼⡏⠀⠀⠀⠀⠀⠀⠀⠀]],
67-
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
49+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⡀⠀⠀⠀⠀⠀⠀⠀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀]],
50+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⡀⠀⠀⠀⢀⣾⠋⠉⢿⣆⠀⠀⠀⠀⢀⣾⠟⠙⢿⣄⠀⠀⠀⠀⠀⠀]],
51+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣶⢿⣿⢻⡛⠛⢛⡟⠛⠛⠿⠿⠃⠀⠀⠀⠻⣿⢿⣿⢿⣿⠁⠀⠀⠀⢻⡆⠀⠀⠀⠀⠀]],
52+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡾⠋⠫⣀⡠⠃⠀⠑⠶⠚⣥⣀⣀⡀⠀⠀⠀⠀⠀⠀⠋⠀⠋⠈⠋⠀⠀⠀⠀⠈⣿⡀⣀⣀⣀⡀]],
53+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⣉⣉⣛⠃⠀⠀⣴⣦⠀⠀⠀⣦⠀⠀⢠⣶⡄⠀⠀⢸⣟⠛⠉⠉⠁]],
54+
[[⢰⣿⣿⣦⠀⠀⠀⠀⣰⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠛⠛⠛⠃⠀⠀⠛⠛⠀⠘⠿⠻⠟⠀⠘⠛⠃⠀⠀⠈⣿⠛⠛⠛⠃]],
55+
[[⢸⣯⠟⠛⣷⡀⠀⢠⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀]],
56+
[[⠀⠹⣧⣴⣿⡿⢶⣾⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀]],
57+
[[⠀⠀⠘⢿⣮⡀⡞⢹⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
58+
[[⠀⠀⠀⠀⠈⠛⢿⣾⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
59+
[[⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀]],
60+
[[⠀⠀⠀⠀⠀⠀⠀⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⠀⠀⠀]],
61+
[[⠀⠀⠀⠀⠀⠀⠀⠈⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⠀⠀⠀]],
62+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠹⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡿⠁⠀⠀⠀]],
63+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣰⡟⠁⠀⠀⠀⠀]],
64+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣤⡾⠋⠀⠀⠀⠀⠀⠀]],
65+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣤⡿⠛⠛⠛⠛⢿⣤⣿⠛⠛⠛⠛⠛⠛⠛⢿⣤⣾⠛⠛⠛⠛⠻⣧⣼⡏⠀⠀⠀⠀⠀⠀⠀⠀]],
66+
[[⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠉⠁⠀⠀⠀⠀⠀⠉⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀]],
6867
}
6968

7069
local dashboard = require("alpha.themes.dashboard")

lua/plugins/highlight.lua

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
11
return {
2-
-- :TSInstallInfo 로 설치 정보 확인
3-
"nvim-treesitter/nvim-treesitter",
4-
build = ":TSUpdate",
5-
dependencies = {
6-
'nvim-treesitter/nvim-treesitter-textobjects'
2+
{
3+
-- :TSInstallInfo 로 설치 정보 확인
4+
"nvim-treesitter/nvim-treesitter",
5+
build = ":TSUpdate",
6+
dependencies = {
7+
"nvim-treesitter/nvim-treesitter-textobjects",
8+
},
9+
config = function()
10+
local config = require("nvim-treesitter.configs")
11+
config.setup({
12+
-- 하이라이트할 언어 추가
13+
ensure_installed = {
14+
"lua",
15+
"vim",
16+
"vimdoc",
17+
"c",
18+
"cpp",
19+
"rust",
20+
"html",
21+
"css",
22+
"javascript",
23+
"typescript",
24+
"zig",
25+
},
26+
highlight = { enable = true },
27+
indent = { enable = true },
28+
})
29+
end,
30+
},
31+
{
32+
"nvim-treesitter/playground",
33+
config = function()
34+
vim.keymap.set("n", "<leader>tsp", vim.cmd.TSPlaygroundToggle, { desc = "[t]ree[s]itter [p]laygroundToggle" })
35+
end,
736
},
8-
config = function()
9-
local config = require("nvim-treesitter.configs")
10-
config.setup({
11-
-- 하이라이트할 언어 추가
12-
ensure_installed = { "lua", "vim", "vimdoc", "c", "cpp", "rust", "html", "css", "javascript", "typescript", "zig" },
13-
highlight = { enable = true },
14-
indent = { enable = true },
15-
})
16-
end
1737
}

0 commit comments

Comments
 (0)