From nobody Tue May 28 02:14:40 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VpGL82DqNz5LHkl for ; Tue, 28 May 2024 02:14:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VpGL80xpwz4Nvd for ; Tue, 28 May 2024 02:14:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716862480; a=rsa-sha256; cv=none; b=fiqsXeIdcEGdb6mxSyN6xcy3VaMfRA+o9+TOprUMkVw6wh0hplpizCcOgJtDRVu639tnh8 OeSXTRj8dKl9W3qq7M3gl0ak7CBFIYwdOhjvfLUsP55SDlsn+OE+xnwjhdPyjqW9vKEmmz 9JEw8cP+GzyGEmrzTydhrNcuHbziB5mt36MvFdInt0nVumafPyz4mnXiFLO4QcMCuGyab9 7dxvLQHDApU97MqbDm3jPNU5U33mNsFYniqkCNUUk0LnLK+wc2tSjzxQmGWYTh4tHMNIlj vV+4C6o9/p6v3Fe5Fal8oDvBvyaVfjX3o/phoqiqotNOS+gjKJe5B8lLBgMF+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716862480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Iap7JGDGbdsEf0l8fd6wOk7KWFBiKbPMHDyr1r7ThEg=; b=XcTY5ysfZAI+pMBPxHp2c9SGkyp02QmeIFaObnLDWm8e6HTnujfU2cY2rKICU73b0YNlQ2 eKvaGwJedqOsDDkeIzyRnZSuLgRgooKlojhVK84o51sXHGjl3vulTKP1HWvCMglsZl2djy R72e6ViB4O6UQ5L8IOg6xjS2k+9SC3riBfYWTqfPn+SoBPlP1LUImcpIDVOJNmlR5I2Jpg xoQ/H8f9mZV8ruvMMjOtF6tw+67QQ1xqAMEouv7UwS9pd7gLlUe2BNzeXP8Y3ve+Alz5lu fzpA/lhVmtqpy6Vq0RLhs+PIz+1ygta2JJfxBvE/F0KdoUqrX7W0UJE7hZX5sA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VpGL80YdLz18B0 for ; Tue, 28 May 2024 02:14:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44S2EdJ2027742 for ; Tue, 28 May 2024 02:14:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44S2EdbH027741 for ports-bugs@FreeBSD.org; Tue, 28 May 2024 02:14:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279359] editors/neovim: error when opening lua code Date: Tue, 28 May 2024 02:14:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: adamw@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279359 Bug ID: 279359 Summary: editors/neovim: error when opening lua code Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: adamw@FreeBSD.org Reporter: markj@FreeBSD.org Assignee: adamw@FreeBSD.org Flags: maintainer-feedback?(adamw@FreeBSD.org) After the recent update to 0.10.0, I get an annoying error when opening lua code. In a freshly installed VM with no config, if I run `echo 'print("hello, world")' > test.lua` and then run `nvim test.lua`, I'm greeted with: --- Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: /usr/local/share/nvim/runtime/filetype.lua:35: Error executing lua: /usr/local/share/nvim/runtime/filetype.lua:36: BufRead= Post Au tocommands for "*"..FileType Autocommands for "*"..function 1_LoadFTPlugin[20]..script /usr/local/share/nvim/runtime/ftplugin/lua.= lua: Vim(runtime):E5113: Error while calling lua chunk: ...local/share/nvim/runtime/lua/vim/treesitter/language.lua:107: no parser = for 'lua' language, see :help treesitter-parsers stack traceback: [C]: in function 'error' ...local/share/nvim/runtime/lua/vim/treesitter/language.lua:107: in function 'add' ...l/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new' /usr/local/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser' /usr/local/share/nvim/runtime/lua/vim/treesitter.lua:108: in functi= on 'get_parser' /usr/local/share/nvim/runtime/lua/vim/treesitter.lua:416: in functi= on 'start' /usr/local/share/nvim/runtime/ftplugin/lua.lua:2: in main chunk [C]: in function 'nvim_cmd' /usr/local/share/nvim/runtime/filetype.lua:36: in function [C]: in function 'nvim_buf_call' /usr/local/share/nvim/runtime/filetype.lua:35: in function stack traceback: [C]: in function 'nvim_cmd' /usr/local/share/nvim/runtime/filetype.lua:36: in function [C]: in function 'nvim_buf_call' /usr/local/share/nvim/runtime/filetype.lua:35: in function stack traceback: [C]: in function 'nvim_buf_call' /usr/local/share/nvim/runtime/filetype.lua:35: in function --- The code at the top of the stack is this: local fname =3D 'parser/' .. lang .. '.*' local paths =3D api.nvim_get_runtime_file(fname, false) if #paths =3D=3D 0 then error("no parser for '" .. lang .. "' language, see :help treesitter-parsers") end path =3D paths[1] but there's no directory called "parser" in the runtime path. I suspect th= at there are some new files not included in the neovim package. --=20 You are receiving this mail because: You are the assignee for the bug.=