Compare commits

..

3 Commits

Author SHA1 Message Date
b2df93a1f6 add haskell lsp settings 2024-03-16 21:36:59 +07:00
85ccc75998 change neovide vfx 2024-03-16 21:36:59 +07:00
8c0072e74b use yadi for indentation recognition 2024-03-16 21:36:59 +07:00
4 changed files with 8 additions and 2 deletions

View File

@ -65,7 +65,7 @@
; neovide
; (set nvim.g.neovide_fullscreen true)
(set nvim.g.neovide_cursor_vfx_mode "pixiedust")
(set nvim.g.neovide_cursor_vfx_mode "railgun")
(set nvim.o.guifont "FiraCode Nerd Font Mono:h16")
(require "plugins")

View File

@ -15,6 +15,9 @@
(lspconfig.rust_analyzer.setup {})
(lspconfig.gopls.setup {})
(lspconfig.hls.setup {
:cmd ["haskell-language-server-wrapper" "--lsp" "--logfile" "/home/r00t/.cache/nvim/hls.log" "--debug"]
})
; treesitter
(set treesitter_install.compilers ["clang"])

View File

@ -24,6 +24,7 @@
(use :ur4ltz/surround.nvim)
(use :b3nj5m1n/kommentary)
(use :nelstrom/vim-visual-star-search)
(use :timakro/vim-yadi)
(use {1 :nvim-treesitter/nvim-treesitter :run ":TSUpdate"})
(use :nvim-treesitter/nvim-treesitter-textobjects)

View File

@ -2,6 +2,8 @@
{require {nvim aniseed.nvim
nu aniseed.nvim.util}})
(nvim.ex.autocmd "BufRead * DetectIndent")
;; theme
; (global github-theme (require :github-theme))
; (github-theme.setup {:theme_style :dark})
@ -49,7 +51,7 @@
:icon ""}}
:lualine_c {1 {1 :filename
:file_status true}}
:lualine_x ["encoding" "fileformat" "filetype"]
:lualine_x ["%{&expandtab?shiftwidth().\"sp\":\"tabs\"}" "encoding" "fileformat" "filetype"]
:lualine_y ["progress"]
:lualine_z ["location"]}
:inactive_sections {:lualine_a {}