kristijanhusak / neovim-config Goto Github PK
View Code? Open in Web Editor NEWNeovim configuration
Neovim configuration
When i try to run the install.sh on my mac returns to me the following error
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
Please dont do this:
https://github.com/kristijanhusak/neovim-config/blob/master/install.sh#L2
Trying to yank a few lines for the search count (I hate it being a separate wasted line), I got to your config.
I do also like your lsp progress and gitsigns solution, though I think I need to install something for this to work.
it just works (for me).
add_cmd('Frel', function() vim.fn.setreg('+', plenary.path:new(vim.api.nvim_buf_get_name(0)):make_relative()) end, {}) -- copy relative path
plenary.path handles gracefully uris, so oil://
etc path just work and dont need extra handling..
if you prefer checking against cwd (relative path resolving does this automatically and falls back to absolute one if not within cwd) you could use uv.cwd() like you use it elsewhere.
If you use alot harpoon, you might find a few handy things in my dotfiles.
This also makes several of your vim.fs.dirname
superfluous. See also :h vim.fs
neovim-config/nvim/lua/partials/lsp.lua
Line 165 in 96493d7
On CursorHold
virtual text being shown for the given line is for other diagnostics buffers instead of the current buffer. Using a nearly identical autocmd
as yours; trying it both in the client on_attach, and just on my lsp module load.
Wondering if you've ever run across this/that.
Thanks for all of your contributions to nvim!
Hi Kristijan. You nvim config is really awesome and I used parts of it a lot. But I have one question. It's not clear for me how something like this is working
hi StatusLine guifg=#ebdbb2 guibg=#504945 gui=NONE
I assume you are using iterm + nvim where this gui hex colors are not working at all. Am I wrong?
I found your config about defx.vim, it helps a lot! Thanks!! But I get a problem with defx_open and find_current_file.
neovim-config/nvim/partials/defx.vim
Line 7 in aa8a2d4
neovim-config/nvim/partials/defx.vim
Line 8 in aa8a2d4
If I first press n then press n again to hide defx, then press hf, everything is great.
As above defx found the file tt.cpp, and I have resize the winwidth it works.
But if I press hf directly after run Vim, got lots of trailing spaces, and winwidth is not as what I set.
It hides the buffer of file tt.cpp
.
The RED
blocks is highlight of trailing spaces.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.