We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
NVIM v0.9.1
require("neorg").setup { load = { ["core.defaults"] = {}, ["core.completion"] = { config = { engine = "nvim-cmp", }, }, ["core.concealer"] = {}, ["core.dirman"] = { config = { workspaces = { notes = "~/notes", }, }, }, ["core.integrations.telescope"] = {}, }, }
Opening a Neorg file results in no filetype being set, :set ft shows ft=.
:set ft
ft=
After opening a Neorg file (extension *.norg) I would expect ft=norg. This should come with syntax and bindings enabled.
*.norg
ft=norg
Open a file, either directly through nvim index.norg or via the internal :Neorg index command.
nvim index.norg
:Neorg index
No response
The complete configuration I used to get started using packer.nvim cam be seen here: alerque/que-vim@e8d8825.
I've run :Neorg sync-parsers and :TSUpdate and others to no avail.
:Neorg sync-parsers
:TSUpdate
After loading a Neorg file if I manually set the filetype via :set ft=norg then suddenly syntax is enabled and things start working.
:set ft=norg
Even before manually setting the filetype, the :Neorg command is available, so the plugin loaded, just not the filetype detection bit.
:Neorg
I've tried using lazy loading by adding ft = "norg" to the packer.nvim use {} table, but to no avail.
ft = "norg"
use {}
No
The text was updated successfully, but these errors were encountered:
could you show your packer use statement?
use
Sorry, something went wrong.
I already linked to the full packer use statement exactly as used here: alerque/que-vim@e8d8825
Got the same issue after a :PackerUpdate. Any news on this?
:PackerUpdate
I'm setting the filetype manually for now -
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, { pattern = { "*.norg" }, callback = function() vim.opt.ft = 'norg' end, })
Since 0.10.0 Neorg is recognized as a native filetype, therefore any issues related to this should since be gone! :)
0.10.0
No branches or pull requests
Prerequisites
Neovim Version
NVIM v0.9.1
Neorg setup
Actual behavior
Opening a Neorg file results in no filetype being set,
:set ft
showsft=
.Expected behavior
After opening a Neorg file (extension
*.norg
) I would expectft=norg
. This should come with syntax and bindings enabled.Steps to reproduce
Open a file, either directly through
nvim index.norg
or via the internal:Neorg index
command.Potentially conflicting plugins
No response
Other information
The complete configuration I used to get started using packer.nvim cam be seen here: alerque/que-vim@e8d8825.
I've run
:Neorg sync-parsers
and:TSUpdate
and others to no avail.After loading a Neorg file if I manually set the filetype via
:set ft=norg
then suddenly syntax is enabled and things start working.Even before manually setting the filetype, the
:Neorg
command is available, so the plugin loaded, just not the filetype detection bit.I've tried using lazy loading by adding
ft = "norg"
to the packer.nvimuse {}
table, but to no avail.Help
No
Implementation help
No response
The text was updated successfully, but these errors were encountered: