Commit graph

194 commits

Author SHA1 Message Date
Dzuchun
33b71d2e6e Tree sitter for Haskell 2024-08-19 01:24:23 +03:00
Dzuchun
27dc886606 Disabled HSL snippets, as they caused errors
There seems to be a PR for this issue, so I might revert the in the
future
2024-08-19 01:23:23 +03:00
Dzuchun
f01a68810c Added Haskell linter 2024-08-19 01:22:44 +03:00
Dzuchun
345e4df3a0 Replaced HLS's formatting
It was kinda bad. Particularly, if was using 2-wide tabs, for some
reason :idk:
2024-08-19 01:21:41 +03:00
Dzuchun
4af6d1a66d Added ghci prompt to floaterm as <A-h> 2024-08-19 01:20:48 +03:00
Dzuchun
5d3ce5329b Added HLS (Haskell Language Server) 2024-08-19 01:20:20 +03:00
Dzuchun
002c6eefae Removed test folders from .gitignore
Now using `.gitignore` files **inside** them.
2024-08-19 01:15:15 +03:00
Dzuchun
643cc4f9f4 Disabled mouse
Selecting is fine, but RMB annoyed me a couple of times.
2024-07-27 15:13:46 +03:00
Dzuchun
d8a7e98d9d Added 'o' and 'O' actions for Ukrainian keyboard
Still a bit rough around the edges though.
2024-07-27 15:12:45 +03:00
Dzuchun
fb6e919c1d Remove pre-selection for nvim-cmp
as it's not intuitive for me anymore. I wish to keep writing whatever I
do if none of the completions made sense.
2024-07-21 10:17:49 +03:00
Dzuchun
fb8e114381 Re-added LSP as a completion source 2024-07-21 09:51:16 +03:00
Dzuchun
b9eec97c0e Formatting of everything + minor enhancements 2024-07-20 18:45:51 +03:00
Dzuchun
a71dde7f4a Removed dictionary files from the index
I, in fact, do not own then, and should not reupload.
2024-07-20 17:39:44 +03:00
Dzuchun
f274fcb40f Re-added lua_ls, as I accidentally disabled it 2024-07-20 17:35:04 +03:00
Dzuchun
8c77178730 Fixed problem with LSP cmp 2024-07-20 17:33:52 +03:00
Dzuchun
8db2b8ff27 Revert "Substituted nvim's spellcheck with LSP"
This reverts commit 3cb19bc15d.

Harper is really cool, but it does not support foreign languages. I'd
like for it to at least not complain about words not existing.

There appears to be a feature development for that, I'll keep an eye on
it
2024-07-20 17:20:45 +03:00
Dzuchun
5dd9ab8c69 FINALLY added LSP for Lua 2024-07-20 15:16:40 +03:00
Dzuchun
7abca0ca39 Fixed markdown plugin config once again :/ 2024-07-20 15:16:12 +03:00
Dzuchun
11ca091919 Whitespace helpers display fix
These used to show up if nvim had started with an error, or of new
plugins were added. Now they don't :idk:
2024-07-20 14:59:48 +03:00
Dzuchun
f908449880 Fixed issue with Rust docs causing errors
Seems like there was an issue with callout rendering, so I
kinda-disabled it for now..? :idk:
2024-07-20 14:58:20 +03:00
Dzuchun
3cb19bc15d Substituted nvim's spellcheck with LSP
Specifically, harper-ls
2024-07-20 14:57:01 +03:00
Dzuchun
a050db3fdf Added disagnostics view 2024-07-20 12:54:41 +03:00
Dzuchun
994d413514 Added linting support
Only for js/ts for now. I plan on adding new language lints as I start
working on projects
2024-07-20 12:53:48 +03:00
Dzuchun
57ad1a38ac Added Markdown LSP
Might look surprising, but checking your syntax and links continuously
(instead of launching it in the browser, and clicking stuff or th)
actually save a lot of time.

Also, this LSP specifically supports wikilinks, which *immensely* help to
organize the work.
2024-07-20 12:35:07 +03:00
Dzuchun
14804d3415 Added Python LSP
Pyright is less than ideal, but it's the best one I could find and set
up.

I've spent more time for that then I'm willing to admit.
2024-07-20 12:33:05 +03:00
Dzuchun
7b8df7e231 Added Rust LSP (rust analyzer)
<3
2024-07-20 12:32:07 +03:00
Dzuchun
a86e898eee Added TS lsp (tsserver)
It's also used for js, jsx and tsx, but it's formatting it... kinda sad,
so I opted out of it.
2024-07-20 12:30:42 +03:00
Dzuchun
160c986b6e Basic LSP setup
I commented out all of the LSPs for now, just so that it focuses only on
generic stuff
2024-07-20 12:28:49 +03:00
Dzuchun
4418bbbfd5 Removed bell on backspace
Not sure *why* I decided to use this feature at all. I probably should
remove all of them, for a good measure.
2024-07-20 12:20:16 +03:00
Dzuchun
18d07513da Added support for Ukrainian keyboard
That means, that most test navigation commands, `:w`, `:q` and `:wq` can
used regardless of the keyboard layout I use (not portable).
2024-07-20 12:17:13 +03:00
Dzuchun
e37b36ba0e Added formatting via conform.nvim
Thing is, not all of the LSPs support formatting, or support it in the
way I'd like it to happen.
2024-07-20 12:10:46 +03:00
Dzuchun
0541fb8dfd Added jsx/tsx tags autoclosing (nvim-ts-autotag) 2024-07-20 12:08:02 +03:00
Dzuchun
c396bd29c1 Added git commit parser to tree-sitter
Because I love fancy highlighting, and want my commit messaged to comply
with the length standard (hard-wrapping still needs to be addressed
though).
2024-07-20 12:00:57 +03:00
Dzuchun
6617076de8 Added README disclaimer 2024-07-20 11:58:12 +03:00
Dzuchun
5c8b81dad4 Changed image path shortcut
Apparently, imp-clip does not understand `~` shortcut :idk:
2024-07-20 11:47:56 +03:00
Dzuchun
9620b1285e Added jupyter notebook integration (jupynium.nvim) 2024-07-20 11:45:15 +03:00
Dzuchun
25952fc690 Added markdown viewer (peek.nvim) 2024-07-20 11:42:19 +03:00
Dzuchun
c8ad07284b Added gitignore 2024-07-20 11:40:55 +03:00
Dzuchun
a1fef63382 Reworked plugin setup
Now plugins are located in separate files. File are discovered by
plugins module at nvim start, and loaded.
Main Idea here, is to simplify plugin addition by making plugins more
independent.
Also simplifies git versioning
2024-06-22 17:41:06 +03:00
Dzuchun
81f7ad6081 Specified parser list for treesitter
I expect lower startup speed
2024-06-22 13:15:02 +03:00
Dzuchun
ddfde9392a Added plugin to highlight hyperlinks
(netrw-independent)
2024-06-22 12:20:41 +03:00
Dzuchun
2f367d9a85 Added clipboard image inserting 2024-06-22 12:20:09 +03:00
Dzuchun
53235b0f1c Added floating terminal 2024-06-22 12:18:49 +03:00
Dzuchun
effc531bb2 First versioned commit
- plugins managed with lazy.nvim
- a couple of base nvim changes
List of newly installed plugins:
- moonfly theme
- lualine (fancy bottom status line)
- diffview (diff integration)
- nvim-tree (file explorer)
- tree-sitter (with VSCode snippets)
    - luasnip
    - spellchecking
- markdown.nvim (a bit fancier markdown rendering)
2024-06-22 12:16:35 +03:00