Skip to content

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

Description

@apechinsky

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Not a priority. PRs welcomebugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions