doom-neovim / doom-nvim Goto Github PK
View Code? Open in Web Editor NEWA Neovim configuration for the advanced martian hacker
License: GNU General Public License v2.0
A Neovim configuration for the advanced martian hacker
License: GNU General Public License v2.0
Have it on in config... :PackerStatus shows it loaded, but then it says MinimapToggle not found...
My goof or a bug?
I'm probably missing something really basic here, but when I try having plugins.lua be
return {
"dense-analysis/ale",
}
or
return {
{"dense-analysis/ale"},
}
I get this when starting nvim
packer.nvim] [ERROR 20:33:11] async.lua:20: Error in coroutine: .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:784: Vim(lua):E5108: Error executing lua [string ":
lua"]:1: attempt to index global 'Luasnip_current_nodes' (a nil value)
I want to change the file tree to stay open after I open a file.
the setting in the plugin is G.nim_tree_quit_on_open, so I changed it in my doomrc hoping that would load last and override the plugin setting.
Is there a specific place i can make this override where it will be loaded after the plugins?
Thanks for doom-nvim, I've already got a few friends using it too :)
when using doom vim the auto pair function is not working as it should, when typing in a double quote is not pair, u will have to added the closing quote yourself,
Maybe a doom help page which will show all the keybindings, including ctrl+* mappings.
they key map functions is not working for my version, i'm running neovim 0.5, the keys maybe broken or something cause it dose not function
I followed the instructions to run the develop branch, and neovim reports:
E492: Not an editor command: WhichKey \
I tried with a fresh clone, removed .local/share/nvim..., did it manually and with the install script, both have the same error message.
Since ~/.config/doom-nvim/
is a git repo with this github repo as the remote, it's not trivial to add the doomrc.lua
, doom_config.lua
, and plugins.lua
files to a dotfiles manager like yadm
.
Is there a recommended way to do this? I was thinking that maybe one could fork the repo & add the fork as a submodule to yadm, but that's not a very clean solution (updates won't work without syncing the fork) (and for me personally I'd rather avoid submodules).
When I modify a configuration, I get this error: E21: Could not modify, 'modifiable' is disabled
In spanish (original): E21: No se pudo modificar, 'modifiable' está desactivado
I get this:
E5108: Error executing lua /home/xroot/.config/nvim/lua/doom/core/functions/init.lua:205: bad argument #1 to 'read' (invalid option)
Any tips to troubleshoot this?
layout_defaults needs to be change to layout_config and some other changes run :help telescope.changelog-922
would make this a pull request for this but I'm new to to github as well as arch in general hopefully soon
Hi,
I switched to doom-nvim from my config and I'm missing some mappings, such as mapping <leader><space>
to :b#
Simply adding them to doom_config.lua
is not enough right now, and I think it should be (I had to uncomment the mapping in the config)
I updated doom using :DoomUpdate, but then running neovim afterwards broke neovim.
I tried to reinstall, clearing the old configuration (and the plugins), but it results in an error.
There also seems to be a bug in the bash installation script, where the colors that should be output to the terimal are not done properly (this isn't an issue I care about, but it could be related?)
.72m==================================================
.72m You are almost done. Start neovim to install
.72m the plugins and kill some demons.
.72m
.72m Thanks for installing Doom Nvim. If you have any
.72m issue, please report it :)
.72m==================================================
Then, following the installation via the command line provided in the readme, I try to run neovim via nvim command, which resulted in the following error
E5113: Error while calling lua chunk: /home/bavalpey/.config/nvim/init.lua:20: attempt to index field 'opt' (a nil value)
Error detected while processing function bufferline#enable[32]..bufferline#highlight#setup[8]..<SNR>24_fg:
line 2:
E5555: API call: Invalid highlight name: Special
line 3:
E715: Dictionary required```
Hi!
Great project, it "just work" as promised and it's fast. Thank you!
I want to add snippets using 'rafamadriz/friendly-snippets', so I've modified 'doomrc':
-- ...
disabled_plugins = { 'minimap', 'restclient'},
-- ...
disabled_modules = {},
custom_plugins = {
{
['repo'] = 'hrsh7th/vim-vsnip',
['enabled'] = true,
},
{
['repo'] = 'hrsh7th/vim-vsnip-integ',
['enabled'] = true,
},
{
['repo'] = 'rafamadriz/friendly-snippets',
['enabled'] = true,
},
},
and 'lua/plugins/configs/nvim-compe.lua':
-- ...
source = {
path = true,
buffer = true,
calc = true,
vsnip = true,
nvim_lsp = true,
nvim_lua = true,
spell = false,
tags = true,
snippets_nvim = false,
treesitter = true,
},
The snippets ar present in the completion list, navigating the list with Tab
and S-Tab
displays the snippet skeleton, but I cannot trigger the completion: pressing Enter
just closes the completion menu.
Any suggestions? Thank you!
Hi again,
These bindings don't take effect from doom_config.lua
-- jumps
{'n', '<leader>ja', '<C-^>', opt },
{'n', '<leader>je', '<C-i>', opt }, -- newer cursor position in jump list
{'n', '<leader>jo', '<C-o>', opt }, -- older...
but it works with single char like <leader>a
I may have just missed something, but wanted to point this out.
Running on MacOSX with iTerm as the terminal. I had to switch my terminal font preferences to FiraCode Nerd Font Mono (the important part being the Nerd I believe) to get the various little icons and things to show up.
I had the font loaded, but this wasn't my default font.
: Error executing lua [string ":lua"]:1: attempt to index global 'Luasnip_current_nodes' (a nil value)```
I was trying to map to be in the mappings field of doom_config.lua. However, when I populate the mappings field of doom_config.lua, it reports an error on next launch of neovim.
I tried to use the example provied in the doom_config.lua for this section. However, even copy pasting that example causes the same error.
I tried the following configuration in the mappings section of the local nvim section.
mappings = {
{'n', '<MiddleMouse>', '<Nop>'},
{'i', '<MiddleMouse>', '<Nop>'},
}
When launching nvim, this results in the following error:
Error executing vim.schedule lua callback: /home/bvalpey/.config/nvim/lua/doom/core/functions/init.lua:70: attempt to call local 'map' (a table value)
It's possible that I am doing something wrong with the syntax. However, I also tried the provided example, which resulted in the same error.
node-mudeles are included when find files is launched can it be turned off
Hi,
How do I do this right?
-- Set custom commands
-- @default = {}
-- example:
-- {
-- 'echo "Hello, custom commands!"'
-- }
commands = {
{
'echo "Hello, custom commands!"'
},
{ 'vim.cmd[[ :set keymap=INSERT_COLEMAK ]]' },
{ 'vim.cmd[[ :set iminsert=1 ]]' },
{ 'vim.cmd[[ :set iminsert=0 ]]' },
},
Error executing vim.schedule lua callback: ...k/cheovim/start/cheovim/lua/doom/core/functions/init.lua:60: Expected lua string
I have all dependencies including the optional ones and am using the latest neovim nightly. When I go to run it, I get the following error:
E5113: Error while calling lua chunk: /home/killbotvii/.config/nvim/lua/doom/keybindings/init.lua:7: module 'which-k
ey' not found:
no field package.preload['which-key']
no file './which-key.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit-2.1.0-beta3/which-key.lua'
no file '/usr/local/share/lua/5.1/which-key.lua'
no file '/usr/local/share/lua/5.1/which-key/init.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/which-key.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.1/which-key/init.lua'
no file './which-key.so'
no file '/usr/local/lib/lua/5.1/which-key.so'
no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/which-key.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
I have already tried to completely delete both the doom-nvim folder and anything related to nvim in the config folder and running the script again, but I get the same error.
It would be nice to be able to set custom options directly from doom_config.lua
, for example through an options
field !
Context
Hi,
Thanks a lot for this very good project! I loved trying to tweak it a bit. One thing that I have noticed is when I am opening the config files, plugins become unavailable.
One way to reproduce it on my machine is to open a config file (doom_config or doomrc for instance) from the start page via the recent file list. I cannot use telescope anymore afterwards or when I save a change in those config files, the FormatWrite function is called (I have auto format on 'true") and an error is displayed.
Second thing, :DoomUpdate does not work, the read() function is calling an error
Process
Version
3.0.6
Terminal : Kitty, nvim 0.5.0
Distro : Manjaro KDE (updated)
In addition, what are the key bindings for the kommentary plugin?
If you need more info, please let me know!
Hi,
maybe this has to do with the fact that i installed doom under ~/.config/nvim.config/doom
with Cheovim??
I don't know what this is but i post it fyi. I am going to read the contribution guidelines
so that I can contribute with better bug reports going forward.
error goes away by commenting out haskell from doomrc.
nvim-treesitter[haskell]: Error during compilation
src/scanner.cc:79:10: error: expected expression
return [=](A a) { return f(g(a)); };
^
src/scanner.cc:83:10: error: expected expression
return [=](A a) { return f(g(a)); };
^
src/scanner.cc:87:10: error: expected expression
return [=](A a) { return f(g(a)); };
^
src/scanner.cc:90:64: error: expected expression
template<class A, class B> function<B(A)> const_(B b) { return [=](auto _) { return b; }; }
^
src/scanner.cc:155:16: error: non-aggregate type 'vector<std::__1::string>' (aka 'vector<basic_string<char, char_traits<char>, allocator<char> > >') c
annot be initialized with an initializer list
vector<string> names = {
^ ~
src/scanner.cc:183:69: error: expected expression
bool all(const bool *syms) { return std::all_of(syms, syms + empty, [](bool a) { return a; }); }
^
src/scanner.cc:240:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
for (auto i : state.indents) {
^
src/scanner.cc:240:15: warning: range-based for loop is a C++11 extension [-Wc++11-extensions]
for (auto i : state.indents) {
^
src/scanner.cc:285:10: error: expected expression
return [=](State & state) {
^
src/scanner.cc:308:57: error: expected expression
Peek operator&(const Peek & l, const Peek & r) { return [=](uint32_t c) { return l(c) && r(c); }; }
^
src/scanner.cc:309:57: error: expected expression
Peek operator|(const Peek & l, const Peek & r) { return [=](uint32_t c) { return l(c) || r(c); }; }
^
src/scanner.cc:310:30: error: expected expression
Peek not_(Peek con) { return [=](uint32_t c) { return !con(c); }; }
^
src/scanner.cc:321:72: error: expected expression
Condition operator&(const Condition & l, const Condition & r) { return [=](auto s) { return l(s) && r(s); }; }
^
src/scanner.cc:322:72: error: expected expression
-- More --
The javascript/typescript language options in doomrc.lua
doesn't seem to include jsx/tsx (I had to :TSInstall tsx
manually and lsp completions aren't enabled). It might make sense to include them, since I believe the language server used for javascript/typescript also supports jsx/tsx
it seems to work but with some errs
Is one of these plugins disabling macros? If I launch nvim without any init nvim -u NONE
I can use q
to record macros like normal. But with doom-nvim pressing q
doesn't seem to do anything. I'm not sure how to track it down. I did some searches through the project for macro
and looked through some spots, but nothing is jumping out to me as the likely culprit.
whenever I type :LspInstall
and hit tab to check the available language servers, I get this https://imgur.com/fBCMaKi (Sorry I can't send a picture here)
Great project! I was looking for a way to keep my doomrc outside of the git tree so I can update doom-nvim without overwriting my doomrc changes. Is that possible now?
Either I don't understand how to load it or it isn't loading 📦
so this is the keybinding under lua/doom.. and zen is uncommented in doomrc.
if not functions.is_plugin_disabled('zen') then
utils.map('n', '<F6>', ':TZAtaraxis<CR>', opts)
end
OS: Mac OS big Sur
Nvim-version: 0.6.0
Adding tools for debugging could be very useful.
We could use nvim-dap + nvim-dap-ui in combination with DAPInstall.nvim to achieve a good and automated integration similar to what is currently available with the Language Servers Protocol.
I had to explicitly add it to plugins.lua
I've been seeing this issue for sometime while checking this project out, I'm not exactly sure how this is triggered. I've tried setup everything 4 times, and I usually end up at this error.
I manage to get everything installed but on reload, this comes up.
Error executing vim.schedule lua callback: /home/silipwn/.config/nvim/lua/doom/core/config/init.lua:421: module 'lspinstall' not found:
no field package.preload['lspinstall']
no file './lspinstall.lua'
.....
Is there something I'm missing to configure?
When I run ls ~/.local/share/nvim/site/pack/packer/start/
:
neogit vim-header
nvim
: v0.6.0-dev+12-gf515baedc
doom-nvim
: v3.0.7
Hi again,
I try this binding
{'n', ';', ':'},
and it does work but the command line is not being shown upon pressing ;
now.
press `;` -> shows nothing
press `h` -> shows `:h`
so the command works but it just doesn't show on the first key press / or initial ;
.
Does this only happen to me?
And it is the same with /
search commands also.
If I press /
nothing shows but I know that the command works under the hood.
Can I switch between master branch and develop branch without any problems.
Is there anything that i need to be cautious about?? I want to follow the development branch so
that i am more up to date.
LuaSnip with friendly-snippets doesn't seem to work in the standard install (3.0.5). When I edit a file which should have friendly-snippets support (e.g. lua) nvim-compe doesn't show any snippets. When I run :LuaSnipListAvailable
it returns the following...
{
all = {},
lua = {}
}
I'm not sure LuaSnip is finding and loading friendly-snippets at all, unless I've missed a critical config option to make it work?
I can't get used to using y
to copy/paste, is it possible to use set mouse=r
but still retain the ability to ignore line numbers somehow?
Hi,
as many others now, I'm migrating from init.vim
to init.lua
. When greping through the Internet I came across on doom-nvim. It's design guides looked very interesting so I proceeded to the Install section. Here is what have made me concern:
XDG_CONFIG_HOME
nor XDG_CONFIG_DIRS
.backup_neovim
actually installs doom_nvim.nvim
command but not the version 0.5, which is required.node
and npm
which are optional.XDG_CONFIG_HOME
either.Those are small things but finding them makes me wonder if I have to read all doom_nvim code and verify it's behaviour.
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.