Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Cannot download spell language filies after installing Oil #483

Open
3 tasks done
apechinsky opened this issue Sep 15, 2024 · 0 comments
Open
3 tasks done

bug: Cannot download spell language filies after installing Oil #483

apechinsky opened this issue Sep 15, 2024 · 0 comments
Labels
bug Something isn't working P2 Not a priority. PRs welcome

Comments

@apechinsky
Copy link

Did you check the docs and existing issues?

  • I have read the docs
  • I have searched the existing issues

Neovim version (nvim -v)

0.10.1

Operating system/version

Arch linux kernel 6.10.6-arch1-1

Describe the bug

After installing the plugin, Neovim doesn't download spell language files.

What is the severity of this bug?

breaking (some functionality is broken)

Steps To Reproduce

  1. install the plugin
  2. start neovim and enable spelling for non English language, e.g.: nvim +"set spell | set spelllang=es"
    Result:
    Warning: Cannot find word list "es.utf-8.spl" or "es.ascii.spl"

Expected Behavior

Expecting to get language download prompt:

No spell file for "es" in utf-8
Download it?
(Y)es, [N]o:

Directory structure

~/.config/nvim
    init.lua

Repro

-- init.lua
vim.g.mapleader = " "
vim.g.maploacalleader = vim.g.mapleader
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.expandtab = true
vim.opt.autoindent = true

local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "https://github.com/folke/lazy.nvim.git",
    "--branch=stable", -- latest stable release
    lazypath,
  })
end

vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
    {
        'stevearc/oil.nvim',
        enabled = true,
        opts = {},
    }
})

Did you check the bug with a clean config?

  • I have confirmed that the bug reproduces with nvim -u repro.lua using the repro.lua file above.
@apechinsky apechinsky added the bug Something isn't working label Sep 15, 2024
@stevearc stevearc added the P2 Not a priority. PRs welcome label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 Not a priority. PRs welcome
Projects
None yet
Development

No branches or pull requests

2 participants