alpha2phi / neovim-for-beginner Goto Github PK
View Code? Open in Web Editor NEWA configuration for Neovim beginners.
License: MIT License
A configuration for Neovim beginners.
License: MIT License
This series has been really helpful for me. Thank you very much.
One thing that is confusing me is that syntax highlighting seems to have vanished in the first LSP branch (11-lsp), and I haven't been able to work out what's changed. It does come back in 12-lsp2, if that helps any.
Thanks again,
Grant
Great tutorials. I have installed nvb on Mac Monterey (12.1) MBP . After the initial succcessful launch and restart terminal nvb fails to launch with the following
Error detected while processing function <SNR>13_LoadRemotePlugins[1]..<SNR>13_GetManifest[1]..<SNR>13_GetManifestPath:
line 10:
E739: Cannot create directory /share: read-only file system
in the terminal and tries to open default NVIM.
I have an aliases file .zsh_aliases and have put the alias in there.
Looking at :scriptnames , script 13 is rplugin which I didnt know I had.
When running source ./install.sh
i got the error ./install.sh:11: command not found: stow
. This could be modified as an error that prompts the user to install stow, with the relavent instructions?
When I tried to run the install.sh from my macOS laptop, it gave follow error:
zsh: ./install.sh: bad interpreter: /usr/bin/sh: no such file or directory
Hi 👋
Every time i open the first buffer after the alpha screen it shows without color highlighting and then all other buffers are OK.
Any idea why/where to look?
I wanted to let the authors know I find this series extremely valuable. Congratulations and good work.
However, I don't think I am able to read all the medium posts for free unless I pay a subscription. Does anyone has a solution for that?
module 'utils' not found
lua/config/lsp/null-ls/formatters.lua
i am getting error from fromatters.lua file that module 'utils' not found
OS : Arch linux x86_64
This is my nvim repo - https://github.com/samridht23/nnvim
Hi,
thank you for your work, it's an amazing config when everything is working, but in my case i'm having trouble getting nul-ls working as i get an error each time i save the file
i work mainly with javascript but from time to time i use python and go
here is a screenshot about the error if that could help debugging it:
Hello,
Edit: for any one else having the same issue (seems to be mac related) brew reinstall neovim fixes this issue.
Just pulled the latest mater branch and I am encountering this when attempting for format, it errors regardless of language and/or formatter used.
Error detected while processing BufWritePre Autocommands for "<buffer=1>":
E5108: Error executing lua .../adam/.config/nvim/lua/config/lsp/null-ls/formatters.lua:23: attempt to call field 'format' (a nil value)
stack traceback:
.../adam/.config/nvim/lua/config/lsp/null-ls/formatters.lua:23: in function 'format'
In addition to that if I attempt to view function lsp docs I get
E5108: Error executing lua ...site/pack/packer/opt/null-ls.nvim/lua/null-ls/client.lua:39: bad argument #1 to 'unpack' (table expected, got string)
stack traceback:
[C]: in function 'unpack'
...site/pack/packer/opt/null-ls.nvim/lua/null-ls/client.lua:39: in function 'capability_is_disabled'
...site/pack/packer/opt/null-ls.nvim/lua/null-ls/client.lua:50: in function 'supports_method'
...r/neovim/HEAD-ae325e6/share/nvim/runtime/lua/vim/lsp.lua:1470: in function 'fn'
...r/neovim/HEAD-ae325e6/share/nvim/runtime/lua/vim/lsp.lua:164: in function 'for_each_buffer_client'
...r/neovim/HEAD-ae325e6/share/nvim/runtime/lua/vim/lsp.lua:1469: in function 'request'
...ovim/HEAD-ae325e6/share/nvim/runtime/lua/vim/lsp/buf.lua:61: in function 'hover'
[string ":lua"]:1: in main chunk
The configuration for Neovim runtime files doesn't work for me on Mac. However jdhao's script works well:
......
workspace = {
-- Make the server aware of Neovim runtime files
library = vim.api.nvim_get_runtime_file("", true),
},
The above appears to be a more robust solution.
Hello, I am testing on Windows 11 with WSL2 (with Debian) and when trying to follow the steps to setup the initial environment, I have followed the steps:
The only thing that happens is that neovim opens, and then nothing happens - Are there any other requirements that are missed, it doesn't appear to operate the same way as shown in your video.
This is a fresh install of Debian 11 fully updated and only installed curl, git, neovim and stow.
the treesitter configuration seems has an outdated configuration:
1 local M = {}
2
3 function M.setup()
4 require("nvim-treesitter.configs").setup {
5 -- One of "all", "maintained" (parsers with maintainers), or a list of languages
6 ensure_installed = "maintained",
7
8 -- Install languages synchronously (only applied to `ensure_installed`)
9 sync_install = false,
10
11 highlight = {
12 -- `false` will disable the whole extension
13 enable = true,
14 },
15 }
16 end
17
18 return M
Line 6 gives an error: "Parser not available for language maintained" when I start with nvb.
Suggest to change it to "all"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.