-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.lua
48 lines (42 loc) · 1.32 KB
/
config.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- doom_config - Doom Nvim user configurations file
--
-- This file contains the user-defined configurations for Doom nvim.
-- Just override stuff in the `doom` global table (it's injected into scope
-- automatically).
-- ADDING A PACKAGE
--
-- doom.use_package("EdenEast/nightfox.nvim", "sainnhe/sonokai")
-- doom.use_package({
-- "ur4ltz/surround.nvim",
-- config = function()
-- require("surround").setup({mappings_style = "sandwich"})
-- end
-- })
-- ADDING A KEYBIND
--
-- doom.use_keybind({
-- -- The `name` field will add the keybind to whichkey
-- {"<leader>s", name = '+search', {
-- -- Bind to a vim command
-- {"g", "Telescope grep_string<CR>", name = "Grep project"},
-- -- Or to a lua function
-- {"p", function()
-- print("Not implemented yet")
-- end, name = ""}
-- }}
-- })
-- ADDING A COMMAND
--
-- doom.use_cmd({
-- {"CustomCommand1", function() print("Trigger my custom command 1") end},
-- {"CustomCommand2", function() print("Trigger my custom command 2") end}
-- })
-- ADDING AN AUTOCOMMAND
--
-- doom.use_autocmd({
-- { "FileType", "javascript", function() print('This is a javascript file') end }
-- })
doom.indent = 2
doom.core.treesitter.settings.show_compiler_warning_message = false
doom.core.reloader.settings.reload_on_save = false
-- vim: sw=2 sts=2 ts=2 expandtab