📝 Many changes...
This commit is contained in:
parent
5775262419
commit
452a644131
7 changed files with 213 additions and 14 deletions
20
my_npm_packages.txt
Normal file
20
my_npm_packages.txt
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
/usr/lib
|
||||||
|
├── @volar/vue-language-server@0.38.9
|
||||||
|
├── bash-language-server@3.0.5
|
||||||
|
├── corepack@0.12.0
|
||||||
|
├── dockerfile-language-server-nodejs@0.9.0
|
||||||
|
├── emmet-ls@0.3.0
|
||||||
|
├── grammarly-languageserver@0.0.4
|
||||||
|
├── jest@28.1.3
|
||||||
|
├── node-gyp@9.1.0
|
||||||
|
├── nodemon@2.0.19
|
||||||
|
├── nopt@5.0.0
|
||||||
|
├── npm@8.14.0
|
||||||
|
├── prettier@2.7.1
|
||||||
|
├── pyright@1.1.262
|
||||||
|
├── remark-language-server@2.0.0
|
||||||
|
├── rome@0.7.0-next.f6510d6
|
||||||
|
├── semver@7.3.7
|
||||||
|
├── speed-test@3.0.0
|
||||||
|
└── vscode-langservers-extracted@4.4.0
|
||||||
|
|
||||||
File diff suppressed because one or more lines are too long
185
my_pip_packages.txt
Normal file
185
my_pip_packages.txt
Normal file
|
|
@ -0,0 +1,185 @@
|
||||||
|
Package Version
|
||||||
|
----------------------------- -----------
|
||||||
|
adblock 0.5.2
|
||||||
|
alabaster 0.7.12
|
||||||
|
anyio 3.6.1
|
||||||
|
anytree 2.8.0
|
||||||
|
appdirs 1.4.4
|
||||||
|
arandr 0.1.10
|
||||||
|
argcomplete 2.0.0
|
||||||
|
attrs 21.4.0
|
||||||
|
Babel 2.9.1
|
||||||
|
Beaker 1.11.0
|
||||||
|
beautifulsoup4 4.10.0
|
||||||
|
btrfsutil 5.18.1
|
||||||
|
CacheControl 0.12.6
|
||||||
|
certifi 2021.10.8
|
||||||
|
cffi 1.15.1
|
||||||
|
chardet 3.0.4
|
||||||
|
charset-normalizer 2.1.0
|
||||||
|
click 7.1.2
|
||||||
|
colorama 0.4.5
|
||||||
|
commonmark 0.9.1
|
||||||
|
configparser 5.2.0
|
||||||
|
contextlib2 21.6.0
|
||||||
|
cryptography 37.0.4
|
||||||
|
ctranslate2 2.10.1
|
||||||
|
cycler 0.11.0
|
||||||
|
decorator 5.1.1
|
||||||
|
distlib 0.3.5
|
||||||
|
distro 1.7.0
|
||||||
|
dnspython 2.2.1
|
||||||
|
docopt 0.6.2
|
||||||
|
docutils 0.19
|
||||||
|
dotty-dict 1.3.0
|
||||||
|
entrypoints 0.4
|
||||||
|
flit_core 3.7.1
|
||||||
|
fonttools 4.34.4
|
||||||
|
future 0.18.2
|
||||||
|
googletrans 3.0.0
|
||||||
|
greenlet 1.1.2
|
||||||
|
gTTS 2.2.3
|
||||||
|
h11 0.9.0
|
||||||
|
h2 3.2.0
|
||||||
|
halo 0.0.31
|
||||||
|
hid 1.0.4
|
||||||
|
hjson 3.0.2
|
||||||
|
hpack 3.0.0
|
||||||
|
hstspreload 2021.12.1
|
||||||
|
html5lib 1.1
|
||||||
|
httpcore 0.9.1
|
||||||
|
httpx 0.13.3
|
||||||
|
hyperframe 5.2.0
|
||||||
|
idna 2.10
|
||||||
|
imagesize 1.3.0
|
||||||
|
importlib-metadata 4.8.1
|
||||||
|
injector 0.19.0
|
||||||
|
isodate 0.6.1
|
||||||
|
jaraco.context 4.1.1
|
||||||
|
jaraco.functools 3.5.1
|
||||||
|
jaraco.text 3.8.1
|
||||||
|
jeepney 0.7.1
|
||||||
|
Jinja2 3.1.2
|
||||||
|
jsonschema 3.2.0
|
||||||
|
keyring 23.4.0
|
||||||
|
kitchen 1.2.6
|
||||||
|
kiwisolver 1.4.3
|
||||||
|
lensfun 0.3.3
|
||||||
|
libfdt 1.6.1
|
||||||
|
libvirt-python 8.5.0
|
||||||
|
lit 14.0.6.dev0
|
||||||
|
log-symbols 0.0.14
|
||||||
|
louis 3.22.0
|
||||||
|
lxml 4.9.1
|
||||||
|
Mako 1.1.6
|
||||||
|
mallard-ducktype 1.0.2
|
||||||
|
Markdown 3.4.1
|
||||||
|
MarkupSafe 2.1.1
|
||||||
|
matplotlib 3.5.2
|
||||||
|
mcomix 2.0.1
|
||||||
|
meson 0.63.0
|
||||||
|
milc 1.6.6
|
||||||
|
more-itertools 8.13.0
|
||||||
|
msgpack 1.0.3
|
||||||
|
neovim 0.3.1
|
||||||
|
netsnmp-python 1.0a1
|
||||||
|
nodeenv 1.6.0
|
||||||
|
nspektr 0.4.0
|
||||||
|
numpy 1.23.0
|
||||||
|
ordered-set 4.0.2
|
||||||
|
packaging 21.3
|
||||||
|
peewee 3.14.10
|
||||||
|
pep517 0.12.0
|
||||||
|
Pillow 9.2.0
|
||||||
|
pip 22.2
|
||||||
|
platformdirs 2.5.1
|
||||||
|
ply 3.11
|
||||||
|
progress 1.6
|
||||||
|
protobuf 4.21.2
|
||||||
|
protonup 0.1.4
|
||||||
|
psutil 5.9.0
|
||||||
|
py3nvml 0.2.7
|
||||||
|
pyalpm 0.10.6
|
||||||
|
pybind11 2.10.0
|
||||||
|
pycairo 1.21.0
|
||||||
|
pycountry 22.3.5
|
||||||
|
pycparser 2.21
|
||||||
|
pycryptodome 3.15.0
|
||||||
|
Pygments 2.12.0
|
||||||
|
PyGObject 3.42.2
|
||||||
|
pynvim 0.4.3
|
||||||
|
pyOpenSSL 22.0.0
|
||||||
|
pyparsing 3.0.9
|
||||||
|
PyQt5 5.15.7
|
||||||
|
PyQt5-Qt5 5.15.2
|
||||||
|
PyQt5-sip 12.9.0
|
||||||
|
pyright 1.1.239
|
||||||
|
pyrsistent 0.18.1
|
||||||
|
PySocks 1.7.1
|
||||||
|
pyte 0.8.1
|
||||||
|
python-dateutil 2.8.2
|
||||||
|
python-xlib 0.31
|
||||||
|
pythondialog 3.5.3
|
||||||
|
pytz 2021.3
|
||||||
|
pyusb 1.2.1
|
||||||
|
pyxdg 0.28
|
||||||
|
pyxel 1.6.1
|
||||||
|
PyYAML 6.0
|
||||||
|
qmk 1.1.0
|
||||||
|
ranger-fm 1.9.3
|
||||||
|
requests 2.27.1
|
||||||
|
resolvelib 0.8.1
|
||||||
|
retrying 1.3.3
|
||||||
|
rfc3986 1.5.0
|
||||||
|
rich 12.5.0
|
||||||
|
Rx 3.2.0
|
||||||
|
screenkey 1.5
|
||||||
|
SecretStorage 3.3.1
|
||||||
|
sentencepiece 0.1.96
|
||||||
|
setuptools 62.0.0
|
||||||
|
shellingham 1.4.0
|
||||||
|
shtab 1.5.5
|
||||||
|
six 1.16.0
|
||||||
|
sniffio 1.2.0
|
||||||
|
snowballstemmer 2.2.0
|
||||||
|
soupsieve 2.3.1
|
||||||
|
Sphinx 3.2.1
|
||||||
|
sphinx-rtd-theme 1.0.0
|
||||||
|
sphinxcontrib-applehelp 1.0.2
|
||||||
|
sphinxcontrib-devhelp 1.0.2
|
||||||
|
sphinxcontrib-htmlhelp 2.0.0
|
||||||
|
sphinxcontrib-jsmath 1.0.1
|
||||||
|
sphinxcontrib-qthelp 1.0.3
|
||||||
|
sphinxcontrib-serializinghtml 1.1.5
|
||||||
|
spinners 0.0.24
|
||||||
|
stanza 0.3
|
||||||
|
streamlink 4.2.0
|
||||||
|
TBB 0.2
|
||||||
|
team 1.0
|
||||||
|
tenacity 8.0.1
|
||||||
|
termcolor 1.1.0
|
||||||
|
thefuck 3.32
|
||||||
|
tldr 3.1.0
|
||||||
|
toml 0.10.2
|
||||||
|
tomli 2.0.1
|
||||||
|
torch 1.12.0
|
||||||
|
tqdm 4.64.0
|
||||||
|
trove-classifiers 2022.6.26
|
||||||
|
tuir 1.29.0
|
||||||
|
typer 0.3.2
|
||||||
|
typer-cli 0.0.12
|
||||||
|
typing_extensions 4.2.0
|
||||||
|
ufw 0.36.1
|
||||||
|
urllib3 1.26.9
|
||||||
|
urwid 2.1.2
|
||||||
|
validate-pyproject 0.9
|
||||||
|
vrms-arch 1.0
|
||||||
|
wcwidth 0.2.5
|
||||||
|
webencodings 0.5.1
|
||||||
|
websocket-client 1.3.3
|
||||||
|
wheel 0.37.1
|
||||||
|
wik 1.1.0
|
||||||
|
xmltodict 0.12.0
|
||||||
|
yq 3.0.2
|
||||||
|
yt-dlp 2022.7.18
|
||||||
|
zipp 3.8.1
|
||||||
|
|
@ -88,7 +88,7 @@ local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protoco
|
||||||
-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
|
-- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
|
||||||
local lspconfig =require'lspconfig'
|
local lspconfig =require'lspconfig'
|
||||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
||||||
local servers = { 'sumneko_lua', 'eslint', 'pyright', 'bashls', 'clangd', 'volar', 'zk', 'html' }
|
local servers = { 'dockerls', 'grammarly', 'html', 'remark_ls', 'sqls', 'rome', 'sumneko_lua', 'pyright', 'bashls', 'clangd', 'volar', 'zk', 'html' }
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
@ -100,7 +100,7 @@ end
|
||||||
require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
|
require'nvim-tree'.setup { -- BEGIN_DEFAULT_OPTS
|
||||||
auto_reload_on_write = true,
|
auto_reload_on_write = true,
|
||||||
disable_netrw = false,
|
disable_netrw = false,
|
||||||
hide_root_folder = false,
|
-- hide_root_folder = false,
|
||||||
hijack_cursor = false,
|
hijack_cursor = false,
|
||||||
hijack_netrw = true,
|
hijack_netrw = true,
|
||||||
hijack_unnamed_buffer_when_opening = false,
|
hijack_unnamed_buffer_when_opening = false,
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
||||||
|
|
||||||
pacman -Q | awk '!($2="")' | tr '\n' ' ' >> my_packages.txt
|
pacman -Q | awk '!($2="")' | tr '\n' ' ' > my_packages.txt
|
||||||
|
npm list -g > my_npm_packages.txt
|
||||||
|
pip list > my_pip_packages.txt
|
||||||
# can be used in conjunction with xargs to reinstall all packages:
|
# can be used in conjunction with xargs to reinstall all packages:
|
||||||
# cat my_packages.txt | sudo xargs pacman -S
|
# cat my_packages.txt | sudo xargs pacman -S
|
||||||
|
|
|
||||||
|
|
@ -44,11 +44,6 @@ if [ ! -d $archivedir ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d .git ] ; then
|
if [ -d .git ] ; then
|
||||||
for arg
|
|
||||||
do
|
|
||||||
newname="$archivedir/$(date "+%S.%M.%H.%m").$(basename "$arg")"
|
|
||||||
$copy "$arg" "$newname"
|
|
||||||
done
|
|
||||||
git rm "$@"
|
git rm "$@"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,6 @@ curl https://raw.githubusercontent.com/SharUpOff/pkgtop/main/dist/pkgtop.sh -so
|
||||||
|
|
||||||
sudo chmod 755 /usr/local/bin/pkgtop
|
sudo chmod 755 /usr/local/bin/pkgtop
|
||||||
|
|
||||||
Reinstall npm, nodemon, and prettier, and jest
|
Finally figured out how to get language servers working neovim, you have to npm install -g each of them from ~/.local/nvim/share/lsp-servers
|
||||||
|
|
||||||
doas pacman -S npm (delete what is necessary to get this to go through)
|
After updating your nvim, make sure to run :LspInstallerInfo and update your language servers
|
||||||
|
|
||||||
doas npm install -g nodemon prettier jest
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue