paq-nvim
paq-nvim copied to clipboard
cannot use paq at all
similar to https://github.com/savq/paq-nvim/issues/91 solution did not work for me
Describe the bug I am not able to use command :PaqInstall Error detected while processing C:\Users\andrew\AppData\Local\nvim\init.lua: E5113: Error while calling lua chunk: C:\Users\andrew\AppData\Local\nvim\init.lua:1: module 'paq' not found: no field package.preload['paq'] no file '.\paq.lua' no file 'C:\tools\neovim\nvim-win64\bin\lua\paq.lua' no file 'C:\tools\neovim\nvim-win64\bin\lua\paq\init.lua' no file '.\paq.dll' no file 'C:\tools\neovim\nvim-win64\bin\paq.dll' no file 'C:\tools\neovim\nvim-win64\bin\loadall.dll' stack traceback: [C]: in function 'require' C:\Users\andrew\AppData\Local\nvim\init.lua:1: in main chunk
To Reproduce
this is my init lua file
require "paq" { "savq/paq-nvim", -- Let Paq manage itself "neovim/nvim-lspconfig", { "lervag/vimtex", opt = true }, -- Use braces when passing options { 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate' }, "OmniSharp/omnisharp-vim"; "preservim/nerdtree"; }
local wo = vim.wo local g = vim.g local opt = vim.opt
wo.number = true -- show line numbers g.OminSharp_server_use_net8 = 1 opt.wrap = false -- no text wrap opt.backup = false -- no annoying backup file --everything in utf-8 opt.encoding = "utf-8" opt.fileencoding = "utf-8" opt. termencoding = "utf-8"
vim.cmd([[ set listchars=tab:> ,trail:~,extends:>,precedes:<,space: set list " 4 spacs indentation set tabstop=4 softtabstop=0 expandtab shiftwidth=4
" Deal with unwanted white space (show them in read)
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
auctocmd BufWinEnter = match ExtraWhiteSpace /\s\+$/
auctocmd InsertEnter = match ExtraWhiteSpace /\s\+\%#\$<!$/
auctocmd InsertLeave = match ExtraWhiteSpace /\s\+$/
auctocmd BufWinLeave = call clearmatches()
]])
Expected behavior
I want to be able to use paq with no errors.
Environment: NVIM v0.9.5 git version 2.40.0.windows.1 windows 10 os
Did you get any errors when cloning Paq itself?
What directories do you have on your data stdpath? What's the output when running the following command in nvim:
:lua for dir in vim.fs.dir(vim.fn.stdpath('data'), {depth=5}) do print(dir) end
I got this
log shada site swap shada/main.shada site/pack swap/C%%Users%andrew%Documents%CSharp%16BPPHTTPClient.swp swap/C%%Users%andrew%Documents%Finnhub%frontend.swp swap/C%%Users%andrew.swp