diff --git a/README.md b/README.md index c956dbd..e203911 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Included are configs for: ## Deployment -> [!WARNING] +> [!CAUTION] > This script _WILL_ clobber existing configuration files for the above applications. Read the script and backup files before running if needed. Just run `./deploy.sh` diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 1c1d17b..3db1cc5 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -32,5 +32,5 @@ require('lazy').setup({ require('plugins.markdown-preview'), -- Open a preview of markdown rendered in a browser require('plugins.render-markdown'), -- Render markdown directly in nvim (experimental, may take over for markdown-preview) require('plugins.autopairs'), -- Autocomplete symbol pairs when typing (experimental) - require('plugins.twilight') -- Focus mode, dim lines around the current segment of code + require('plugins.twilight'), -- Focus mode, dim lines around the current segment of code }) diff --git a/nvim/lua/plugins/dap.lua b/nvim/lua/plugins/dap.lua index 53097fe..225d3c1 100644 --- a/nvim/lua/plugins/dap.lua +++ b/nvim/lua/plugins/dap.lua @@ -130,6 +130,13 @@ return { name = 'Launch current file', request = 'launch', program = '${file}', + pythonPath = function () + if vim.env.VIRTUAL_ENV then + return vim.env.VIRTUAL_ENV .. '/bin/python' + end + + return vim.fn.exepath('python3') or vim.fn.exepath('python') or 'python' + end } } } diff --git a/nvim/lua/plugins/render-markdown.lua b/nvim/lua/plugins/render-markdown.lua index ae68790..652f761 100644 --- a/nvim/lua/plugins/render-markdown.lua +++ b/nvim/lua/plugins/render-markdown.lua @@ -4,7 +4,7 @@ return { vim.treesitter.language.register('markdown', 'telekasten') require('render-markdown').setup({ - enabled = true, + enabled = false, -- render_modes = { 'n', 'c', 't' }, max_file_size = 10.0, debounce = 100,