aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-06-03 01:48:55 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-06-03 01:48:55 +0200
commit53103b8637fe792feebe5779569dab68b8dcf523 (patch)
tree8175a8acd7e1d5786a5ed62610b23999209a1736
parent1d1ecaf9392ee3a2e113ac24786a26718218c8e4 (diff)
downloaddotfiles-53103b8637fe792feebe5779569dab68b8dcf523.tar.gz
nvim plugins
-rw-r--r--nvim/lazy-lock.json8
-rw-r--r--nvim/lua/plugins/appearance.lua10
-rw-r--r--nvim/vimscript/main.vim4
3 files changed, 20 insertions, 2 deletions
diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json
index 6e08c9c..6a0bb1d 100644
--- a/nvim/lazy-lock.json
+++ b/nvim/lazy-lock.json
@@ -5,12 +5,16 @@
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp-vsnip": { "branch": "main", "commit": "989a8a73c44e926199bfd05fa7a516d51f2d2752" },
"gitsigns.nvim": { "branch": "main", "commit": "75dc649106827183547d3bedd4602442340d2f7f" },
- "lazy.nvim": { "branch": "main", "commit": "eab487c2520f0fe9e54eb5e3ea0606e20512492e" },
+ "lazy.nvim": { "branch": "main", "commit": "b0ba3f9399bf48c86abaa4db1a40bd0b681d5018" },
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
"nvim-hardline": { "branch": "main", "commit": "9b85ebfba065091715676fb440c16a37c465b9a5" },
- "nvim-lspconfig": { "branch": "master", "commit": "710a8fa7379db32199545f30ea01dd8446b9302f" },
+ "nvim-lspconfig": { "branch": "master", "commit": "74e14808cdb15e625449027019406e1ff6dda020" },
+ "nvim-treesitter": { "branch": "master", "commit": "a80fe081b4c5890980561e0de2458f64aaffbfc7" },
+ "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
"rainbow": { "branch": "master", "commit": "61f719aebe0dc5c3048330c50db72cfee1afdd34" },
+ "todo-comments.nvim": { "branch": "main", "commit": "70a93ce66083699571adc361166504b03cc39c2b" },
+ "tokyonight.nvim": { "branch": "main", "commit": "7e5ef71a103e7de5fe6c05f5d6ab97d1640f08cf" },
"vim-gnupg": { "branch": "main", "commit": "f9b608f29003dfde6450931dc0f495a912973a88" },
"vim-vsnip": { "branch": "master", "commit": "02a8e79295c9733434aab4e0e2b8c4b7cea9f3a9" }
} \ No newline at end of file
diff --git a/nvim/lua/plugins/appearance.lua b/nvim/lua/plugins/appearance.lua
index abbea97..753419b 100644
--- a/nvim/lua/plugins/appearance.lua
+++ b/nvim/lua/plugins/appearance.lua
@@ -4,5 +4,15 @@ return {
lazy = false,
priority = 1000,
opts = {},
+ },
+ {
+ "folke/todo-comments.nvim",
+ dependencies = { "nvim-lua/plenary.nvim" },
+ opts = {
+ signs = false,
+ highlight = {
+ pattern = [[.*<(KEYWORDS)\s*]],
+ }
+ }
}
}
diff --git a/nvim/vimscript/main.vim b/nvim/vimscript/main.vim
index 53c6229..a0e7ea1 100644
--- a/nvim/vimscript/main.vim
+++ b/nvim/vimscript/main.vim
@@ -1,6 +1,10 @@
set nu rnu
"highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE
+"show line endings and tabs
+set listchars=tab:>\ ,trail:~,extends:>,precedes:<
+set list
+
nmap <silent> gc :bd<CR>
nmap <silent> gn :$tabnew +edit\ .<CR>