profile
viewpoint
Neil Messelmani kishikaisei Pixelsarab Czechia pixelsarab.com

kishikaisei/telescope-js-package-scripts.nvim 5

Integration for vimspector with telescope.nvim

kishikaisei/dual-key-remap 0

Remap any key to any other two keys on Windows 🔥. Remap CapsLock to both Ctrl and Escape!

kishikaisei/nord-iterm2 0

An arctic, north-bluish clean and elegant iTerm2 color scheme.

kishikaisei/nvimfiles 0

NeoVim setup

kishikaisei/telescope.nvim 0

Find, Filter, Preview, Pick. All lua, all the time.

issue commentkyazdani42/nvim-tree.lua

Slowness when setting update_cwd to true on windows

Reproducible with

vim.g.nvim_tree_respect_buf_cwd = 1
require'nvim-tree'.setup {
  update_cwd = true,
}
kishikaisei

comment created time in 19 days

issue openedkyazdani42/nvim-tree.lua

Slowness when setting update_cwd to true

So the title says it all, for some reason, when I am setting update_cwd to true makes nvim-tree slow, movement, expanding nodes, and the first couple of seconds of opening a file, movement in that file is slow as well (moving up and down for instance, takes a moment to register).

OS: Windows 11 (21H2) (but had the same issue on Windows 10) NVIM: v0.6.0-dev+156

Settings: nvim-tree.lua

local g   = vim.g
local cmd = vim.cmd

g.nvim_tree_gitignore = 1               -- 0 by default
g.nvim_tree_indent_markers = 0          -- 0 by default, this option shows indent markers when folders are open
g.nvim_tree_git_hl = 1                  -- 0 by default, will enable file highlight for git attributes (can be used without the icons).
g.nvim_tree_highlight_opened_files = 0  -- 0 by default, will enable folder and file icon highlight for opened files/directories.
g.nvim_tree_root_folder_modifier = ':t' -- This is the default. See :help filename-modifiers for more options
g.nvim_tree_add_trailing = 1            -- 0 by default, append a trailing slash to folder names
g.nvim_tree_group_empty = 0             -- 0 by default, compact folders that only contain a single folder into one node in the file tree
g.nvim_tree_disable_window_picker = 0   -- 0 by default, will disable the window picker.
g.nvim_tree_icon_padding = ' '          -- one space by default, used for rendering the space between the icon and the filename. Use with caution, it could break rendering if you set an empty string depending on your font.
g.nvim_tree_symlink_arrow = ' ➛ '      -- defaults to ' ➛ '. used as a separator between symlinks' source and target.
g.nvim_tree_respect_buf_cwd = 1         -- 0 by default, will change cwd of nvim-tree to that of new buffer's when opening nvim-tree. -- set to 1
g.nvim_tree_create_in_closed_folder = 1 -- 1 by default, When creating files, sets the path of a file when cursor is on a closed folder to the parent folder when 0, and inside the folder when 1.
g.nvim_tree_refresh_wait = 500          -- 1000 by default, control how often the tree can be refreshed, 1000 means the tree can be refresh once per 1000ms.
g.nvim_tree_window_picker_exclude = {
	['filetype'] = {
		'notify',
		'packer',
		'qf'
	},
	['buftype'] = {
		'terminal'
	}
}
-- default shows no icon by default
g.nvim_tree_show_icons = {
  git = 1,
  folders = 1, -- or 0,
  files = 1, -- or 0,
  folder_arrows = 1 -- or 0
}

--  Dictionary of buffer option names mapped to a list of option values that
--  indicates to the window picker that the buffer's window should not be
--  selectable.
--  List of filenames that gets highlighted with NvimTreeSpecialFile
g.nvim_tree_special_files = {
	['README.md'] = 1,
	['Makefile']  = 1,
	['MAKEFILE']  = 1
}

g.nvim_tree_icons = {
  ['default']= '',
  ['symlink']= '',
  ['git']= {
    ['unstaged']  = "○",
    ['staged']    = "●",
    ['unmerged']  = "",
    ['renamed']   = "",
    ['untracked'] = "",
    ['deleted']   = "",
    ['ignored']   = ""
    },
  ['folder']= {
    ['arrow_open']   = "",
    ['arrow_closed'] = "",
    ['default']      = "",
    ['open']         = "",
    ['empty']        = "",
    ['empty_open']   = "",
    ['symlink']      = "",
    ['symlink_open'] = "",
  },
  ['lsp']= {
    ['hint']    = "",
    ['info']    = "",
    ['warning'] = "",
    ['error']   = "",
  }
}

local tree_cb = require'nvim-tree.config'.nvim_tree_callback-- following options are the default
-- each of these are documented in `:help nvim-tree.OPTION_NAME`
require'nvim-tree'.setup {
  disable_netrw       = false,
  hijack_netrw        = false,
  open_on_setup       = false,
  ignore_ft_on_setup  = {},
  auto_close          = true,
  open_on_tab         = false,
  hijack_cursor       = false,
  update_cwd          = false,
  update_to_buf_dir   = {
    enable = true,
    auto_open = true,
  },
  diagnostics = {
    enable = true,
    icons = {
      hint    = "",
      info    = "",
      warning = "",
      error   = "",
    }
  },
  update_focused_file = {
    enable      = true,
    update_cwd  = false,
    ignore_list = {}
  },
  system_open = {
    cmd  = nil,
    args = {}
  },
  filters = {
    dotfiles = true,
    custom = {}
  },
  view = {
    width = 45,
    height = 45,
    hide_root_folder = true,
    side = 'left',
    auto_resize = true,
    mappings = {
      custom_only = false,
      list = {
        { key = "<BS>",                         cb = tree_cb("dir_up") },
        { key = {"q", "<Esc>"},                 cb = tree_cb("close") },
        { key = {"<2-RightMouse>", "<CR>"},     cb = tree_cb("cd") },
        { key = "<Tab>",                        cb = tree_cb("preview") },
        { key = "R",                            cb = tree_cb("refresh") },
        { key = "h",                            cb = tree_cb("close_node") },
        
        { key = "l",                            cb = tree_cb("edit") },
        { key = "v",                            cb = tree_cb("vsplit") },
        { key = "s",                            cb = tree_cb("split") },
        { key = "t",                            cb = tree_cb("tabnew") },
        
        { key = "a",                            cb = tree_cb("create") },
        { key = "d",                            cb = tree_cb("remove") },
        { key = "r",                            cb = tree_cb("rename") },
        { key = "x",                            cb = tree_cb("cut") },
        { key = "c",                            cb = tree_cb("copy") },
        { key = "p",                            cb = tree_cb("paste") },
        
        { key = "G",                           cb = tree_cb("prev_git_item") },
        { key = "g",                           cb = tree_cb("next_git_item") },
        { key = "?",                           cb = tree_cb("toggle_help") },
        
        { key = "<",                            cb = tree_cb("prev_sibling") },
        { key = ">",                            cb = tree_cb("next_sibling") },
        { key = "P",                            cb = tree_cb("parent_node") },
        { key = "K",                            cb = tree_cb("first_sibling") },
        { key = "J",                            cb = tree_cb("last_sibling") },
        { key = "I",                            cb = tree_cb("toggle_ignored") },
        { key = "H",                            cb = tree_cb("toggle_dotfiles") },
        { key = "<C-r>",                        cb = tree_cb("full_rename") },
        { key = "y",                            cb = tree_cb("copy_name") },
        { key = "Y",                            cb = tree_cb("copy_path") },
        { key = "gy",                           cb = tree_cb("copy_absolute_path") },
        { key = "s",                            cb = tree_cb("system_open") },
      }
    }
  }
}

created time in 20 days

issue commentnumToStr/FTerm.nvim

Run custom command returns an error on Windows

This is it right now for testing et al.

require'FTerm'.setup({
	-- Command to run inside the terminal. It could be a `string` or `table`
	-- cmd = os.getenv('pwsh'),

	-- Neovim's native window border. See `:h nvim_open_win` for more configuration options.
	border = 'rounded',

	-- Close the terminal as soon as shell/command exits.
	-- Disabling this will mimic the native terminal behaviour.
	auto_close = true,

	-- Highlight group for the terminal. See `:h winhl`
	hl = 'Normal',

	-- Transparency of the floating window. See `:h winblend`
	blend = 0,

	-- Object containing the terminal window dimensions.
	-- The value for each field should be between `0` and `1`
	dimensions = {
		height = 0.9, -- Height of the terminal window
		width = 0.9, -- Width of the terminal window
		x = 0.5, -- X axis of the terminal window
		y = 0.5, -- Y axis of the terminal window
	}
})

-- -- Example keybindings
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
map('n', '<A-g>', "<CMD>lua require('FTerm').run('lazygit')<CR>", opts)

vim.cmd('command! FTermOpen lua require("FTerm").open()')
vim.cmd('command! FTermClose lua require("FTerm").close()')
vim.cmd('command! FTermExit lua require("FTerm").exit()')
vim.cmd('command! FTermToggle lua require("FTerm").toggle()')
kishikaisei

comment created time in a month

issue openednumToStr/FTerm.nvim

Run custom command returns an error on Windows

Running this command :lua require('FTerm').run('lazygit') (or anything in quotes) returns an empty window, with an error message on windows:

E5108: Error executing lua Vim:E475: Invalid argument: expected a String or List

image

created time in a month

issue commentakinsho/toggleterm.nvim

TermExec passes null instead of string

I do have JIT (LuaJIT 2.1.0-beta3), and double quotes have the same behaviour. I will try to make a PR, but no promises, as I have not much time, nor experience with this :)

kishikaisei

comment created time in a month

issue openedakinsho/toggleterm.nvim

TermExec passes null instead of string

When using termexec cmd='anything' it passes null to the terminal: ezgif-5-78b0f6af5e25 I am on windows, and it the same thing if I am using cmd or pwsh.

created time in a month

issue openedahmedkhalf/project.nvim

Manually add project

So I have a couple of typescript projects that are git initialised, and for some reason they don't want to get added to the list of projects. They reside in a subdirectory of a subversion folder (mapped to a drive). I tried using the drive, the actual folder, or symlinked the actual project elsewhere, I assumed that maybe there is some sort of conflict between .svn and .git (even though they far apart) and still nothing. I don't want to spend long debugging this, as I don't have bandwith for it at the moment, I wanted to make sure if there is a way to forcefully add the cwd to the list in any way? (ProjectRoot didn't do the trick)

created time in a month

issue commentPowerShell/PowerShell

Powershell 6 exits the terminal when Ctrl-C is pushed when running a python script.

I have this problem, and it is particularly annoying when I do an winget search, or scoop search or such, and when I find what I want, ctrl+c closes everything :/ Is there a workaround at least for now?

bradphelan

comment created time in a month

issue openedsunjon/Shade.nvim

Disable shade for certain filetypes

Is there a way to disable shade for certain filetypes? I am using mundo for the undo history, but with shade active it is not as useful:

mundo

So maybe ab ignore list or similar would be helpful?

created time in a month

issue commentth-ch/youtube-music

Youtube "Switch Account" menu option broken

I confirm it works on 1.14.0 (you have to build it yourself though).

brennana

comment created time in a month

issue commentth-ch/youtube-music

Youtube "Switch Account" menu option broken

Same issue in here and I am on windows!

brennana

comment created time in a month

startedRender96/Render96Wiki

started time in a month

startedwilliamboman/nvim-lsp-installer

started time in a month

issue commentahmedkhalf/project.nvim

Duplicate project path on Windows system.

It worked for me, it got rid of duplicates 👍 (I did not know how to use the branch, so I just edited the file as in your PR)

Verf

comment created time in a month

issue commentahmedkhalf/project.nvim

Duplicate project path on Windows system.

Not glad to reopen this thread, but I got a duplicate caused by the change in capitalisation of the drive name: image

Verf

comment created time in 2 months

issue commentahmedkhalf/project.nvim

Duplicate project path on Windows system.

So far so good, I tried a couple of folders, and I don't see duplication yet, except for when the project is at the root of a drive: image

Verf

comment created time in 2 months

issue commentahmedkhalf/project.nvim

Duplicate project path on Windows system.

I am not sure on how to use it using packer. I tried using branch='feature/28-windows-duplicates' and branch='28-windows-duplicates'. Is there a way to delete the pre-existing 'projects'? So I am sure that the issue doesn't occur anymore?

Verf

comment created time in 2 months

issue commentahmedkhalf/project.nvim

Duplicate project path on Windows system.

Same issue here, projects are duplicated based on the way folders are separated (/, \, or \\) image

Verf

comment created time in 2 months

push eventSarab-sh/Sarab-sh.github.io-

Neil Messelmani

commit sha d277c166346862d80759934bc640547db36a39e3

testing gh-pages

view details

push time in 3 months

create barnchSarab-sh/Sarab-sh.github.io-

branch : gh-pages

created branch time in 3 months

created repositorySarab-sh/Sarab-sh.github.io-

created time in 3 months

issue openedneovide/neovide

Italic fonts are clipped

<!--- NOTE: PLEASE FILL OUT TEMPLATE RATHER THAN DELETING --->

Describe the bug When using a colorschemes that sets some text to italic, part of the text is clipped.

To Reproduce Steps to reproduce the behavior:

  1. Use a colorscheme that have use of italics (Kosmikoa)
  2. Open a file that has a list ❌ Witness clipping ✔ No clipping and the font is shown in full

Screenshots Neovide right now: image Nvy, desired behaviour: image

Desktop (please complete the following information):

  • OS: Win 10
  • Neovide Version 0.6.0

created time in 3 months

issue closednvim-neorg/tree-sitter-norg

Error while compiling on Win10

I am running windows, and I have this after following the documentation:

Console output:

[nvim-treesitter] [0/1] Downloading...
[nvim-treesitter] [0/1] Checking out locked revision
[nvim-treesitter] [0/1] Compiling...
LINK : warning LNK4044: unrecognized option '/Z-reserved-lib-stdc++'; ignored^M
   Creating library parser.lib and object parser.exp^M
parser-d99b79.o : error LNK2001: unresolved external symbol tree_sitter_norg_external_scanner_create^M
parser-d99b79.o : error LNK2001: unresolved external symbol tree_sitter_norg_external_scanner_destroy^M
parser-d99b79.o : error LNK2001: unresolved external symbol tree_sitter_norg_external_scanner_scan^M
parser-d99b79.o : error LNK2001: unresolved external symbol tree_sitter_norg_external_scanner_serialize^M
parser-d99b79.o : error LNK2001: unresolved external symbol tree_sitter_norg_external_scanner_deserialize^M
parser.so : fatal error LNK1120: 5 unresolved externals^M
nvim-treesitter[norg]: Error during compilation
clang: error: linker command failed with exit code 1120 (use -v to see invocation)^M

I am pretty sure it use to work before, but for some reason not any more, and I couldn't make sense of what the issue is:

init.lua section:

local parser_configs = require('nvim-treesitter.parsers').get_parser_configs()

parser_configs.norg = {
    install_info = {
        url = "https://github.com/vhyrro/tree-sitter-norg",
        files = { "src/parser.c" },
        branch = "main"
    },
}

require'nvim-treesitter.configs'.setup {
    ensure_installed = 'all', -- one of "all", "maintained" (parsers with maintainers), or a list of languages
    ignore_install = { "fortran" }, -- List of parsers to ignore installing
    highlight = {
        enable = true -- false will disable the whole extension
    },
    playground = {
        enable = true,
        disable = {},
        updatetime = 25, -- Debounced time for highlighting nodes in the playground from source code
        persist_queries = false -- Whether the query persists across vim sessions
    },
    autotag = {enable = true},
    rainbow = {enable = true}
    -- refactor = {highlight_definitions = {enable = true}}
}

closed time in 3 months

kishikaisei

issue commentnvim-neorg/tree-sitter-norg

Error while compiling on Win10

Jazz hands to you my dude, it works now!

kishikaisei

comment created time in 3 months

issue closedkyazdani42/nvim-tree.lua

[Feature Request] Show icons to the right

I would like to have the option to put the git status icons and such to the right, for me it would look cleaner as I am not fond of the unaligned file/folder names.

Current behaviour: actual Desired behaviour: desired

closed time in 3 months

kishikaisei

issue commentkyazdani42/nvim-tree.lua

[Feature Request] Show icons to the right

Yeah I get it, it is kind of a duplicate I guess...

kishikaisei

comment created time in 3 months

issue openedkyazdani42/nvim-tree.lua

[Feature Request] Show icons to the right

I would like to have the option to put the git status icons and such to the right, for me it would look cleaner as I am not fond of the unaligned file/folder names.

Current behaviour: actual Desired behaviour: desired

created time in 3 months

more