mirror of
https://codeberg.org/JasterV/dotfiles.git
synced 2026-04-26 18:40:04 +00:00
update lvim config and other stuff
This commit is contained in:
parent
ec4c757233
commit
6c7bdda4d9
7 changed files with 34 additions and 22 deletions
|
|
@ -67,7 +67,7 @@ window:
|
||||||
#
|
#
|
||||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||||
opacity: 0.9
|
opacity: 0.7
|
||||||
|
|
||||||
# Startup Mode (changes require restart)
|
# Startup Mode (changes require restart)
|
||||||
#
|
#
|
||||||
|
|
@ -109,7 +109,7 @@ scrolling:
|
||||||
|
|
||||||
# Font configuration
|
# Font configuration
|
||||||
font:
|
font:
|
||||||
size: 16.0
|
size: 16
|
||||||
# Normal (roman) font face
|
# Normal (roman) font face
|
||||||
normal:
|
normal:
|
||||||
# Font family
|
# Font family
|
||||||
|
|
|
||||||
5
.config/lvim/.gitignore
vendored
5
.config/lvim/.gitignore
vendored
|
|
@ -1,5 +0,0 @@
|
||||||
plugin
|
|
||||||
|
|
||||||
.init.vim
|
|
||||||
.luarc.json
|
|
||||||
lua/sniprun-config/init.lua
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# LunarVim configuration
|
|
||||||
|
|
||||||
This is my configuration for LunarVim.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -13,10 +13,12 @@ vim.o.guifont = "FiraCode Nerd Font Mono:h20"
|
||||||
lvim.use_icons = true
|
lvim.use_icons = true
|
||||||
lvim.colorscheme = "tokyonight"
|
lvim.colorscheme = "tokyonight"
|
||||||
lvim.log.level = "warn"
|
lvim.log.level = "warn"
|
||||||
lvim.format_on_save = true
|
|
||||||
lvim.transparent_window = false
|
lvim.transparent_window = false
|
||||||
|
lvim.format_on_save = { enabled = true }
|
||||||
-- Disable virtual text
|
-- Disable virtual text
|
||||||
lvim.lsp.diagnostics.virtual_text = false
|
lvim.lsp.diagnostics.virtual_text = false
|
||||||
|
-- to disable icons and use a minimalist setup set this as false
|
||||||
|
lvim.use_icons = true
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
KEYMAPS
|
KEYMAPS
|
||||||
|
|
@ -42,9 +44,9 @@ lvim.builtin.which_key.mappings["bo"] = {
|
||||||
"<cmd>Telescope buffers previewer=false theme=dropdown initial_mode=normal<CR>",
|
"<cmd>Telescope buffers previewer=false theme=dropdown initial_mode=normal<CR>",
|
||||||
"Buffers"
|
"Buffers"
|
||||||
}
|
}
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
BUILTIN PLUGINS
|
BUILTIN PLUGINS
|
||||||
|
|
||||||
After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
|
After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
|
||||||
--]]
|
--]]
|
||||||
|
|
||||||
|
|
@ -53,7 +55,7 @@ lvim.builtin.alpha.active = true
|
||||||
lvim.builtin.alpha.mode = "dashboard"
|
lvim.builtin.alpha.mode = "dashboard"
|
||||||
|
|
||||||
-- Notify
|
-- Notify
|
||||||
lvim.builtin.notify.active = true
|
-- lvim.builtin.notify.active = true
|
||||||
|
|
||||||
-- Terminal
|
-- Terminal
|
||||||
lvim.builtin.terminal.active = false
|
lvim.builtin.terminal.active = false
|
||||||
|
|
@ -136,6 +138,12 @@ lvim.builtin.lualine.inactive_sections = {
|
||||||
|
|
||||||
-- LSP
|
-- LSP
|
||||||
-- lvim.lsp.automatic_servers_installation = true
|
-- lvim.lsp.automatic_servers_installation = true
|
||||||
|
-- -- make sure server will always be installed even if the server is in skipped_servers list
|
||||||
|
-- lvim.lsp.installer.setup.ensure_installed = {
|
||||||
|
-- "sumneko_lua",
|
||||||
|
-- "jsonls",
|
||||||
|
-- }
|
||||||
|
|
||||||
|
|
||||||
--[[
|
--[[
|
||||||
ADDITIONAL PLUGINS
|
ADDITIONAL PLUGINS
|
||||||
|
|
@ -148,7 +156,6 @@ local numb = {
|
||||||
}
|
}
|
||||||
|
|
||||||
local colorschemes = {
|
local colorschemes = {
|
||||||
tokyionight = { "folke/tokyonight.nvim" },
|
|
||||||
horizon = { "lunarvim/horizon.nvim" }
|
horizon = { "lunarvim/horizon.nvim" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -204,7 +211,6 @@ local ts_rainbow = {
|
||||||
|
|
||||||
lvim.plugins = {
|
lvim.plugins = {
|
||||||
numb,
|
numb,
|
||||||
colorschemes.tokyionight,
|
|
||||||
rust_tools,
|
rust_tools,
|
||||||
git_fugitive,
|
git_fugitive,
|
||||||
ts_rainbow
|
ts_rainbow
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,21 @@
|
||||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
;; `load-theme' function. This is the default:
|
;; `load-theme' function. This is the default:
|
||||||
(setq doom-theme 'doom-one)
|
(use-package doom-themes
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
;; Global settings (defaults)
|
||||||
|
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
||||||
|
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||||
|
(load-theme 'doom-vibrant t)
|
||||||
|
|
||||||
|
;; Enable flashing mode-line on errors
|
||||||
|
(doom-themes-visual-bell-config)
|
||||||
|
;; or for treemacs users
|
||||||
|
(setq doom-themes-treemacs-theme "doom-colors") ; use "doom-colors" for less minimal icon theme
|
||||||
|
(doom-themes-treemacs-config)
|
||||||
|
;; Corrects (and improves) org-mode's native fontification.
|
||||||
|
(doom-themes-org-config))
|
||||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
(setq display-line-numbers-type t)
|
(setq display-line-numbers-type t)
|
||||||
|
|
@ -78,3 +91,5 @@
|
||||||
;; they are implemented.
|
;; they are implemented.
|
||||||
|
|
||||||
(map! :leader :desc "Fuzzy find file in project" :n "fp" #'project-find-file)
|
(map! :leader :desc "Fuzzy find file in project" :n "fp" #'project-find-file)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
:emacs
|
:emacs
|
||||||
dired ; making dired pretty [functional]
|
dired ; making dired pretty [functional]
|
||||||
electric ; smarter, keyword-based electric-indent
|
electric ; smarter, keyword-based electric-indent
|
||||||
;;ibuffer ; interactive buffer management
|
ibuffer ; interactive buffer management
|
||||||
undo ; persistent, smarter undo for your inevitable mistakes
|
undo ; persistent, smarter undo for your inevitable mistakes
|
||||||
vc ; version-control and Emacs, sitting in a tree
|
vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
;;direnv
|
||||||
;;docker
|
docker
|
||||||
;;editorconfig ; let someone else argue about tabs vs spaces
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
|
|
@ -127,7 +127,7 @@
|
||||||
(elixir +lsp) ; erlang done right
|
(elixir +lsp) ; erlang done right
|
||||||
(elm +lsp) ; care for a cup of TEA?
|
(elm +lsp) ; care for a cup of TEA?
|
||||||
emacs-lisp ; drown in parentheses
|
emacs-lisp ; drown in parentheses
|
||||||
;;erlang ; an elegant language for a more civilized age
|
erlang ; an elegant language for a more civilized age
|
||||||
;;ess ; emacs speaks statistics
|
;;ess ; emacs speaks statistics
|
||||||
;;factor
|
;;factor
|
||||||
;;faust ; dsp, but you get to keep your soul
|
;;faust ; dsp, but you get to keep your soul
|
||||||
|
|
@ -136,7 +136,7 @@
|
||||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
;;gdscript ; the language you waited for
|
;;gdscript ; the language you waited for
|
||||||
;;(go +lsp) ; the hipster dialect
|
;;(go +lsp) ; the hipster dialect
|
||||||
;;(graphql +lsp) ; Give queries a REST
|
(graphql +lsp) ; Give queries a REST
|
||||||
;;(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||||
;(package! some-package)
|
;(package! some-package)
|
||||||
|
(package! doom-themes)
|
||||||
|
|
||||||
;; To install a package directly from a remote git repo, you must specify a
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue