Skip to content

Commit

Permalink
Minor updates (#54)
Browse files Browse the repository at this point in the history
* rm vim-python-pep8-indent

* re-enable treesitter indentation for python

* update trouble.nvim toggle command

* reduce visual clutter of indent-blankline scope

* plugin version updates
  • Loading branch information
daler authored Dec 22, 2024
1 parent 631b35e commit 1fcb8ff
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
13 changes: 6 additions & 7 deletions .config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@
"gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
"gv.vim": { "branch": "master", "commit": "b6bb6664e2c95aa584059f195eb3a9f3cb133994" },
"indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
"kanagawa.nvim": { "branch": "master", "commit": "ad3dddecd606746374ba4807324a08331dfca23c" },
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" },
"lsp-progress.nvim": { "branch": "main", "commit": "d5f4d28efe75ce636bfbe271eb45f39689765aab" },
"lsp-progress.nvim": { "branch": "main", "commit": "f3df1df8f5ea33d082db047b5d2d2b83cc01cd8a" },
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
"nightfox.nvim": { "branch": "main", "commit": "7557f26defd093c4e9bc17f28b08403f706f5a44" },
"nvim-cmp": { "branch": "main", "commit": "3403e2e9391ed0a28c3afddd8612701b647c8e26" },
"nvim-cmp": { "branch": "main", "commit": "98e8b9d593a5547c126a39212d6f5e954a2d85dd" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-lspconfig": { "branch": "master", "commit": "ae8a01bb40848490548e5d07b97ed972ed43c2f9" },
"nvim-lspconfig": { "branch": "master", "commit": "040001d85e9190a904d0e35ef5774633e14d8475" },
"nvim-tree.lua": { "branch": "master", "commit": "f7b76cd1a75615c8d6254fc58bedd2a7304eb7d8" },
"nvim-treesitter": { "branch": "master", "commit": "cfbbdd5effbde3d47d2d662e67cfcd62a93b783f" },
"nvim-web-devicons": { "branch": "master", "commit": "1736cb81bdc42e1ee206081a161bdb2af68fb7a1" },
"nvim-treesitter": { "branch": "master", "commit": "fa915a30c5cdf1d18129e9ef6ac2ee0fa799904f" },
"nvim-web-devicons": { "branch": "master", "commit": "0eb18da56e2ba6ba24de7130a12bcc4e31ad11cb" },
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"onedark.vim": { "branch": "main", "commit": "390b893d361c356ac1b00778d849815f2aa44ae4" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
Expand All @@ -38,7 +37,7 @@
"trouble.nvim": { "branch": "main", "commit": "46cf952fc115f4c2b98d4e208ed1e2dce08c9bf6" },
"vim-commentary": { "branch": "master", "commit": "64a654ef4a20db1727938338310209b6a63f60c9" },
"vim-diff-enhanced": { "branch": "master", "commit": "8d161f1e97a5f5e64ea4219e6663f98a109df7b1" },
"vim-fugitive": { "branch": "master", "commit": "320b18fba2a4f2fe3c8225c778c687e0d2620384" },
"vim-fugitive": { "branch": "master", "commit": "fcb4db52e7f65b95705aa58f0f2df1312c1f2df2" },
"vim-mergetool": { "branch": "master", "commit": "0275a85256ad173e3cde586d54f66566c01b607f" },
"vim-python-pep8-indent": { "branch": "master", "commit": "baa647a70f1d6280a282a6cab425ef4094c9633d" },
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
Expand Down
7 changes: 7 additions & 0 deletions .config/nvim/lua/plugins/indent-blankline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ return {
-- make the character a little less dense
indent = { char = "" },
exclude = { filetypes = { "markdown", "rst" } },

-- don't underline beginning and end (I think it adds too much visual
-- clutter)
scope = {
show_start = false,
show_end = false,
},
},
},
}
2 changes: 1 addition & 1 deletion .config/nvim/lua/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ return {
enable = true,
-- Let vim-python-pep8-indent handle the python and snakemake indentation;
-- disable markdown indentation because it prevents bulleted lists from wrapping correctly with `gq`.
disable = { "python", "snakemake", "markdown" },
disable = { "markdown" },
},
-- --------------------------------------------------------------------
-- CONFIGURE ADDITIONAL PARSERS HERE
Expand Down
11 changes: 5 additions & 6 deletions .config/nvim/lua/plugins/trouble.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
-- trouble splits window to show issues found by LSP
return {
{
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
keys = {
{ "<leader>ct", "<cmd>TroubleToggle<CR>", desc = "Toggle trouble.nvim" },
},
"folke/trouble.nvim",
opts = {}, -- for default options, refer to the configuration section for custom setup.
cmd = "Trouble",
keys = {
{ "<leader>ct", "<cmd>Trouble diagnostics toggle<cr>", desc = "Diagnostics (Trouble)", },
},
}
7 changes: 0 additions & 7 deletions .config/nvim/lua/plugins/vim-python-pep8-indent.lua

This file was deleted.

0 comments on commit 1fcb8ff

Please sign in to comment.