jdhao / nvim-config

A modern Neovim configuration with full battery for Python, Lua, C++, Markdown, LaTeX, and more...
MIT License
3.56k stars 527 forks source link

Compile & Run doesn't work on Windows because of Pathnames #179

Open Aninsi-Sasberg opened 1 year ago

Aninsi-Sasberg commented 1 year ago
runtimepath=~\AppData\Local\nvim,~\AppData\Local\nvim-data\site,~\AppData\Local\nvim-data\site\pack\packer\opt\gitlinker.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-fugitive,~\AppData\Local\nvim-data\site\pack\packer\opt\emmylua-nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-bqf,~\AppData\Local\nvim-data\site\pack\packer\opt\asyncrun.vim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-python-pep8-indent,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-pythonsense,~\AppData\Local\nvim-data\site\pack\packer\opt\LeaderF,~\AppData\Local\nvim-data\site\pack\packer\opt\nightfox.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\catppuccin,~\AppData\Local\nvim-data\site\pack\packer\opt\dashboard-nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\whitespace.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\bufferline.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\hop.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\lualine.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-web-devicons,~\AppData\Local\nvim-data\site\pack\packer\opt\indent-blankline.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\which-key.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-commentary,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-sandwich,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-matchup,~\AppData\Local\nvim-data\site\pack\packer\opt\fidget.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-lspconfig,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-nvim-lsp,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-path,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-omni,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-buffer,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-cmp,~\AppData\Local\nvim-data\site\pack\packer\opt\lspkind-nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-indent-object,~\AppData\Local\nvim-data\site\pack\packer\opt\open-browser.vim,~\AppData\Local\nvim-data\site\pack\packer\opt\targets.vim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-swap,~\AppData\Local\nvim-data\site\pack\packer\opt\unicode.vim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-repeat,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-highlighturl,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-notify,~\AppData\Local\nvim-data\site\pack\packer\opt\markdown-preview.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-markdownfootnotes,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-markdown,~\AppData\Local\nvim-data\site\pack\packer\opt\kanagawa.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-gdb,~\AppData\Local\nvim-data\site\pack\packer\opt\committia.vim,~\AppData\Local\nvim-data\site\pack\packer\opt\wilder.nvim,~\AppData\Local\nvim-data\site\pack\packer\opt\firenvim,~\AppData\Local\nvim-data\site\pack\packer\opt\packer.nvim,C:\Program Files\Neovim\share\nvim\runtime,C:\Program Files\Neovim\lib\nvim,~\AppData\Local\nvim-data\site/pack/*/start/*,~\AppData\Local\nvim-data\site\pack\packer\opt\nvim-bqf\after,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-pythonsense\after,~\AppData\Local\nvim-data\site\pack\packer\opt\catppuccin\after,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-sandwich\after,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-matchup\after,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-nvim-lsp\after,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-path\after,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-omni\after,~\AppData\Local\nvim-data\site\pack\packer\opt\cmp-buffer\after,~\AppData\Local\nvim-data\site\pack\packer\opt\vim-markdown\after,~\AppData\Local\nvim-data\site\after,~\AppData\Local\nvim\after

Describe the bug

When Executing Python Code with F9 it throws an Error if Path or Filename contains Spaces.

Steps to reproduce the issue:

  1. Open a Python File containing Whitespace in the Path or Filename.
  2. Run File via F9

Expected behavior Python File should be found in Directory, if Pathstring given to nvim would be formatted correctly.